Ok i tried loading the data ( batch ingestion) and i get following error. As a first step i just tried to load 1 line of data and i get following error. Can any one please help.? Also i am attaching the complete file we captured after running indexing command.
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
org.skife.jdbi.v2.exceptions.CallbackFailedException: org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'druid.druid_segments' doesn't exist [statement:"SELECT id FROM druid_segments WHERE id = :identifier", located:"SELECT id FROM druid_segments WHERE id = :identifier", rewritten:"SELECT id FROM druid_segments WHERE id = ?", arguments:{ positional:{}, named:{identifier:'QBRData_2015-07-08T00:00:00.000Z_2015-07-09T00:00:00.000Z_2015-07-08T23:32:08.503Z'}, finder:[]}]
3/7/2015^20^1366318122374311707 ^2216341272195416704 ^0^N^1514^Y^USD^Unbranded^87.9900^1^1^1.8300^0.0000^0.0000^0.0000^0.0000^0.0000^1.8300^0^0.483^0^0^0^87.99
{
"type": "index",
"spec": {
"dataSchema": {
"dataSource": "QBRData",
"parser": {
"type": "string",
"parseSpec": {
"format": "tsv",
"delimiter": "^",
"timestampSpec": {
"column": "transaction_reference_date",
"format": "M/d/yyyy"
},
"dimensionsSpec": {
"dimensions": [
"time_of_day",
"rcvr_id",
"sndr_id",
"pkey",
"is_pmt_xbdr_y_n",
"pmt_flow_key",
"is_pmt_official_y_n",
"transaction_currency",
"Transaction_Type"
],
"dimensionExclusions": [],
"spatialDimensions": []
},
"columns": [
"transaction_reference_date",
"time_of_day",
"rcvr_id",
"sndr_id",
"pkey",
"is_pmt_xbdr_y_n",
"pmt_flow_key",
"is_pmt_official_y_n",
"transaction_currency",
"Transaction_Type"
]
}
},
"metricsSpec": [
{
"type": "doubleSum",
"name": "NTPV_USD_AMT",
"fieldName": "NTPV_USD_AMT"
},
{
"type": "doubleSum",
"name": "NET_CNT",
"fieldName": "NET_CNT"
},
{
"type": "doubleSum",
"name": "SUCCESS_CNT",
"fieldName": "SUCCESS_CNT"
},
{
"type": "doubleSum",
"name": "BA_Revenue",
"fieldName": "BA_Revenue"
},
{
"type": "doubleSum",
"name": "Seller_fx_Revenue",
"fieldName": "Seller_fx_Revenue"
},
{
"type": "doubleSum",
"name": "Buyer_fx_Revenue",
"fieldName": "Buyer_fx_Revenue"
},
{
"type": "doubleSum",
"name": "XBDR_Revenue",
"fieldName": "XBDR_Revenue"
},
{
"type": "doubleSum",
"name": "Revenue_share",
"fieldName": "Revenue_share"
},
{
"type": "doubleSum",
"name": "Pass_Through_Revenue",
"fieldName": "Pass_Through_Revenue"
},
{
"type": "doubleSum",
"name": "Total_Sales_Revenue",
"fieldName": "Total_Sales_Revenue"
},
{
"type": "doubleSum",
"name": "ACH_Cost",
"fieldName": "ACH_Cost"
},
{
"type": "doubleSum",
"name": "CC_Cost",
"fieldName": "CC_Cost"
},
{
"type": "doubleSum",
"name": "PP_Loss",
"fieldName": "PP_Loss"
},
{
"type": "doubleSum",
"name": "Seller_Loss",
"fieldName": "Seller_Loss"
},
{
"type": "doubleSum",
"name": "Buyer_Loss",
"fieldName": "Buyer_Loss"
},
{
"type": "doubleSum",
"name": "LOC_CURR_NTPV",
"fieldName": "LOC_CURR_NTPV"
}
],
"granularitySpec": {
"intervals": [
"2015-01-01/2015-12-31"
]
}
},
"ioConfig": {
"type": "index",
"firehose": {
"type": "local",
"baseDir": "/x/home/tsoliman/druid/data/batch/",
"filter": "SQLAExport.txt"
}
}
}
}