xiaoyao1991 / presto-ethereum Goto Github PK
View Code? Open in Web Editor NEWPresto Ethereum Connector -- SQL on Ethereum
License: Apache License 2.0
Presto Ethereum Connector -- SQL on Ethereum
License: Apache License 2.0
Hi ,
I need to know how can I get account balance of the given ethereum account with presto-ethereum ? what is the presto query for this ?
thanks.
I've noticed that queries involving blocks 386620 and 392110 and erc20 fail. I have no idea.
Here are example queries
select * from ethereum.default.erc20 where erc20_blocknumber = 392110;
select * from ethereum.default.erc20 where erc20_blocknumber = 392110;
I do not believe that there are any erc20 token transactions in those blocks but I don't think that they should be resulting in an error either.
Ethereum node is parity 1.10.4
respose example from presto
presto> select * from ethereum.default.erc20 where erc20_blocknumber = 392110;
Query 20180807_224852_00845_hwt4f, FAILED, 1 node
Splits: 17 total, 0 done (0.00%)
0:00 [0 rows, 0B] [0 rows/s, 0B/s]
Query 20180807_224852_00845_hwt4f failed: Index: 0, Size: 0
eth.getTransactionReceipt
eth.getStorageAt
eth.getCode
Hi Xiaoyao,
I'm a big fan of this work! I'm curious if the transaction table has columns to support querying stated variables from a .sol when it's stamped onto an executed transaction. Is this all stored in the hexadecimal-stored input_value column only and indecipherable? Or is it possible to parse the stated variables into unique columns for querying?
Thanks!
Good day when you run your script, there is here such error
presto:default> select * from erc20;
Query 20180416_123627_00019_ykpab failed: Cannot get block number:
I'm guessing that this my have to do with array types since both fields are of type array(varchar(66))
SQL
select block_transactions, block_uncles from ethereum.default.block limit 1;
Error Type | INTERNAL_ERROR |
---|---|
Error Code | GENERIC_INTERNAL_ERROR (65536) |
Stack Trace | java.lang.NoSuchMethodError: com.facebook.presto.spi.block.BlockBuilderStatus: method ()V not found at im.xiaoyao.presto.ethereum.EthereumRecordCursor.serializeList(EthereumRecordCursor.java:301) at im.xiaoyao.presto.ethereum.EthereumRecordCursor.serializeObject(EthereumRecordCursor.java:277) at im.xiaoyao.presto.ethereum.EthereumRecordCursor.getObject(EthereumRecordCursor.java:219) at com.facebook.presto.spi.RecordPageSource.getNextPage(RecordPageSource.java:121) at com.facebook.presto.operator.TableScanOperator.getOutput(TableScanOperator.java:242) at com.facebook.presto.operator.Driver.processInternal(Driver.java:373) at com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282) at com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672) at com.facebook.presto.operator.Driver.processFor(Driver.java:276) at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973) at com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162) at com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) |
I'm confused can I only read events or state variables too?
This was originally posted here > prestodb/presto#6936 (comment)
Ubuntu 18.04
java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
SQL
select erc20_token, erc20_from, erc20_to, erc20_value, erc20_txhash, erc20_blocknumber from ethereum.default.erc20 where erc20_blocknumber > ? and erc20_blocknumber <= ?
This is being called in a loop of 1000 blocks at at a time.
Got the stack trace out of the web ui
Error Type | INTERNAL_ERROR |
---|---|
Error Code | GENERIC_INTERNAL_ERROR (65536) |
Stack Trace | java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:657) at java.util.ArrayList.get(ArrayList.java:433) at im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:156) at com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source) at com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237) at com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229) at com.facebook.presto.operator.Driver.processInternal(Driver.java:373) at com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282) at com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672) at com.facebook.presto.operator.Driver.processFor(Driver.java:276) at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973) at com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162) at com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) |
JSON FROM WEB UI
{
"queryId" : "20180811_123749_00609_ba8j9",
"session" : {
"queryId" : "20180811_123749_00609_ba8j9",
"transactionId" : "8dfabb78-3409-4796-b991-31dd1c24d4d7",
"clientTransactionSupport" : false,
"user" : "user",
"catalog" : "ethereum",
"schema" : "default",
"path" : { },
"timeZoneKey" : 0,
"locale" : "en",
"remoteUserAddress" : "65.129.15.133",
"userAgent" : "Go-http-client/1.1",
"clientTags" : [ ],
"clientCapabilities" : [ ],
"resourceEstimates" : { },
"startTime" : 1533991069373,
"systemProperties" : { },
"catalogProperties" : { },
"preparedStatements" : {
"_presto_go" : "select erc20_token, erc20_from, erc20_to, erc20_value, erc20_txhash, erc20_blocknumber from ethereum.default.erc20 where erc20_blocknumber \u003E ? and erc20_blocknumber \u003C= ?"
}
},
"state" : "FAILED",
"memoryPool" : "general",
"scheduled" : true,
"self" : "http://10.132.73.29:8080/v1/query/20180811_123749_00609_ba8j9",
"fieldNames" : [ "erc20_token", "erc20_from", "erc20_to", "erc20_value", "erc20_txhash", "erc20_blocknumber" ],
"query" : "EXECUTE _presto_go USING 2794588, 2795588",
"queryStats" : {
"createTime" : "2018-08-11T12:37:49.374Z",
"executionStartTime" : "2018-08-11T12:37:49.400Z",
"lastHeartbeat" : "2018-08-11T12:38:22.581Z",
"endTime" : "2018-08-11T12:38:22.409Z",
"elapsedTime" : "33.04s",
"queuedTime" : "2.25ms",
"resourceWaitingTime" : "1.22us",
"analysisTime" : "18.12ms",
"distributedPlanningTime" : "1.08ms",
"totalPlanningTime" : "19.62ms",
"finishingTime" : "654.00ns",
"totalTasks" : 2,
"runningTasks" : 0,
"completedTasks" : 2,
"totalDrivers" : 777,
"queuedDrivers" : 0,
"runningDrivers" : 14,
"blockedDrivers" : 16,
"completedDrivers" : 747,
"cumulativeUserMemory" : 0.0,
"userMemoryReservation" : "0B",
"totalMemoryReservation" : "7.31kB",
"peakUserMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "12.19kB",
"peakTaskTotalMemory" : "12.19kB",
"scheduled" : true,
"totalScheduledTime" : "5.77m",
"totalCpuTime" : "2.10s",
"totalUserTime" : "1.72s",
"totalBlockedTime" : "8.16m",
"fullyBlocked" : true,
"blockedReasons" : [ ],
"rawInputDataSize" : "1.23MB",
"rawInputPositions" : 104,
"processedInputDataSize" : "21.50kB",
"processedInputPositions" : 101,
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"stageGcStatistics" : [ {
"stageId" : 0,
"tasks" : 1,
"fullGcTasks" : 0,
"minFullGcSec" : 0,
"maxFullGcSec" : 0,
"totalFullGcSec" : 0,
"averageFullGcSec" : 0
}, {
"stageId" : 1,
"tasks" : 1,
"fullGcTasks" : 0,
"minFullGcSec" : 0,
"maxFullGcSec" : 0,
"totalFullGcSec" : 0,
"averageFullGcSec" : 0
} ],
"operatorSummaries" : [ {
"pipelineId" : 0,
"operatorId" : 0,
"planNodeId" : "91",
"operatorType" : "ExchangeOperator",
"totalDrivers" : 16,
"addInputCalls" : 0,
"addInputWall" : "0.00ns",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "32.19kB",
"inputPositions" : 101,
"sumSquaredInputPositions" : 5471.0,
"getOutputCalls" : 78,
"getOutputWall" : "1.81ms",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "8.14m",
"finishCalls" : 0,
"finishWall" : "0.00ns",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "0B",
"info" : {
"@type" : "exchangeClientStatus",
"bufferedBytes" : 0,
"maxBufferedBytes" : 1656,
"averageBytesPerRequest" : 347,
"successfulRequestsCount" : 1344,
"bufferedPages" : 0,
"noMoreLocations" : false,
"pageBufferClientStatuses" : [ ]
}
}, {
"pipelineId" : 0,
"operatorId" : 1,
"planNodeId" : "6",
"operatorType" : "TaskOutputOperator",
"totalDrivers" : 16,
"addInputCalls" : 77,
"addInputWall" : "16.65ms",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "21.50kB",
"inputPositions" : 101,
"sumSquaredInputPositions" : 5471.0,
"getOutputCalls" : 0,
"getOutputWall" : "0.00ns",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "0.00ns",
"finishCalls" : 0,
"finishWall" : "0.00ns",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "0B"
}, {
"pipelineId" : 0,
"operatorId" : 0,
"planNodeId" : "95",
"operatorType" : "ScanFilterAndProjectOperator",
"totalDrivers" : 761,
"addInputCalls" : 0,
"addInputWall" : "0.00ns",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "1.23MB",
"inputPositions" : 104,
"sumSquaredInputPositions" : 194.0,
"getOutputCalls" : 760,
"getOutputWall" : "5.77m",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "0.00ns",
"finishCalls" : 0,
"finishWall" : "0.00ns",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "7.31kB",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "2.44kB",
"peakTotalMemoryReservation" : "2.44kB"
}, {
"pipelineId" : 0,
"operatorId" : 1,
"planNodeId" : "95",
"operatorType" : "TaskOutputOperator",
"totalDrivers" : 761,
"addInputCalls" : 77,
"addInputWall" : "10.99ms",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "21.50kB",
"inputPositions" : 101,
"sumSquaredInputPositions" : 191.0,
"getOutputCalls" : 0,
"getOutputWall" : "0.00ns",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "0.00ns",
"finishCalls" : 747,
"finishWall" : "1.87ms",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "0B"
} ],
"progressPercentage" : 96.13899613899613,
"logicalWrittenDataSize" : "0B",
"writtenPositions" : 0,
"executionTime" : "33.03s"
},
"setSessionProperties" : { },
"resetSessionProperties" : [ ],
"addedPreparedStatements" : { },
"deallocatedPreparedStatements" : [ ],
"clearTransactionId" : false,
"outputStage" : {
"stageId" : "20180811_123749_00609_ba8j9.0",
"state" : "ABORTED",
"self" : "http://10.132.73.29:8080/v1/stage/20180811_123749_00609_ba8j9.0",
"plan" : {
"id" : "0",
"root" : {
"@type" : "output",
"id" : "6",
"source" : {
"@type" : "remoteSource",
"id" : "91",
"sourceFragmentIds" : [ "1" ],
"outputs" : [ "erc20_token", "erc20_from", "erc20_to", "erc20_value", "erc20_txhash", "erc20_blocknumber" ]
},
"columns" : [ "erc20_token", "erc20_from", "erc20_to", "erc20_value", "erc20_txhash", "erc20_blocknumber" ],
"outputs" : [ "erc20_token", "erc20_from", "erc20_to", "erc20_value", "erc20_txhash", "erc20_blocknumber" ]
},
"symbols" : {
"erc20_txhash" : "varchar(66)",
"erc20_value" : "double",
"erc20_blocknumber" : "bigint",
"erc20_to" : "varchar(42)",
"erc20_from" : "varchar(42)",
"erc20_token" : "varchar"
},
"partitioning" : {
"connectorHandle" : {
"@type" : "$remote",
"partitioning" : "SINGLE",
"function" : "SINGLE"
}
},
"partitionedSources" : [ ],
"partitioningScheme" : {
"partitioning" : {
"handle" : {
"connectorHandle" : {
"@type" : "$remote",
"partitioning" : "SINGLE",
"function" : "SINGLE"
}
},
"arguments" : [ ]
},
"outputLayout" : [ "erc20_token", "erc20_from", "erc20_to", "erc20_value", "erc20_txhash", "erc20_blocknumber" ],
"replicateNullsAndAny" : false,
"bucketToPartition" : [ 0 ]
},
"pipelineExecutionStrategy" : "UNGROUPED_EXECUTION"
},
"types" : [ "varchar", "varchar(42)", "varchar(42)", "double", "varchar(66)", "bigint" ],
"stageStats" : {
"schedulingComplete" : "2018-08-11T12:37:49.400Z",
"getSplitDistribution" : {
"maxError" : "NaN",
"count" : 0.0,
"total" : 0.0,
"p01" : -9223372036854775808,
"p05" : -9223372036854775808,
"p10" : -9223372036854775808,
"p25" : -9223372036854775808,
"p50" : -9223372036854775808,
"p75" : -9223372036854775808,
"p90" : -9223372036854775808,
"p95" : -9223372036854775808,
"p99" : -9223372036854775808,
"min" : 9223372036854775807,
"max" : -9223372036854775808,
"avg" : "NaN"
},
"scheduleTaskDistribution" : {
"maxError" : "NaN",
"count" : 0.0,
"total" : 0.0,
"p01" : -9223372036854775808,
"p05" : -9223372036854775808,
"p10" : -9223372036854775808,
"p25" : -9223372036854775808,
"p50" : -9223372036854775808,
"p75" : -9223372036854775808,
"p90" : -9223372036854775808,
"p95" : -9223372036854775808,
"p99" : -9223372036854775808,
"min" : 9223372036854775807,
"max" : -9223372036854775808,
"avg" : "NaN"
},
"addSplitDistribution" : {
"maxError" : "NaN",
"count" : 0.0,
"total" : 0.0,
"p01" : -9223372036854775808,
"p05" : -9223372036854775808,
"p10" : -9223372036854775808,
"p25" : -9223372036854775808,
"p50" : -9223372036854775808,
"p75" : -9223372036854775808,
"p90" : -9223372036854775808,
"p95" : -9223372036854775808,
"p99" : -9223372036854775808,
"min" : 9223372036854775807,
"max" : -9223372036854775808,
"avg" : "NaN"
},
"totalTasks" : 1,
"runningTasks" : 0,
"completedTasks" : 1,
"totalDrivers" : 16,
"queuedDrivers" : 0,
"runningDrivers" : 0,
"blockedDrivers" : 16,
"completedDrivers" : 0,
"cumulativeUserMemory" : 0.0,
"userMemoryReservation" : "0B",
"totalMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"totalScheduledTime" : "67.02ms",
"totalCpuTime" : "51.49ms",
"totalUserTime" : "40.00ms",
"totalBlockedTime" : "8.16m",
"fullyBlocked" : false,
"blockedReasons" : [ ],
"rawInputDataSize" : "32.19kB",
"rawInputPositions" : 101,
"processedInputDataSize" : "21.50kB",
"processedInputPositions" : 101,
"bufferedDataSize" : "0B",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"gcInfo" : {
"stageId" : 0,
"tasks" : 1,
"fullGcTasks" : 0,
"minFullGcSec" : 0,
"maxFullGcSec" : 0,
"totalFullGcSec" : 0,
"averageFullGcSec" : 0
},
"operatorSummaries" : [ {
"pipelineId" : 0,
"operatorId" : 0,
"planNodeId" : "91",
"operatorType" : "ExchangeOperator",
"totalDrivers" : 16,
"addInputCalls" : 0,
"addInputWall" : "0.00ns",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "32.19kB",
"inputPositions" : 101,
"sumSquaredInputPositions" : 5471.0,
"getOutputCalls" : 78,
"getOutputWall" : "1.81ms",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "8.14m",
"finishCalls" : 0,
"finishWall" : "0.00ns",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "0B",
"info" : {
"@type" : "exchangeClientStatus",
"bufferedBytes" : 0,
"maxBufferedBytes" : 1656,
"averageBytesPerRequest" : 347,
"successfulRequestsCount" : 1344,
"bufferedPages" : 0,
"noMoreLocations" : false,
"pageBufferClientStatuses" : [ ]
}
}, {
"pipelineId" : 0,
"operatorId" : 1,
"planNodeId" : "6",
"operatorType" : "TaskOutputOperator",
"totalDrivers" : 16,
"addInputCalls" : 77,
"addInputWall" : "16.65ms",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "21.50kB",
"inputPositions" : 101,
"sumSquaredInputPositions" : 5471.0,
"getOutputCalls" : 0,
"getOutputWall" : "0.00ns",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "0.00ns",
"finishCalls" : 0,
"finishWall" : "0.00ns",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "0B"
} ]
},
"tasks" : [ {
"taskStatus" : {
"taskId" : "20180811_123749_00609_ba8j9.0.0",
"taskInstanceId" : "762e2860-76cb-421f-b8c5-c6bb3699fe24",
"version" : 418,
"state" : "ABORTED",
"self" : "http://10.132.73.29:8080/v1/task/20180811_123749_00609_ba8j9.0.0",
"nodeId" : "ffffffff-ffff-ffff-ffff-ffffffffffff",
"completedDriverGroups" : [ ],
"failures" : [ ],
"queuedPartitionedDrivers" : 0,
"runningPartitionedDrivers" : 0,
"outputBufferOverutilized" : false,
"physicalWrittenDataSize" : "0B",
"memoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"fullGcCount" : 0,
"fullGcTime" : "0.00ns"
},
"lastHeartbeat" : "2018-08-11T12:38:22.332Z",
"outputBuffers" : {
"type" : "PARTITIONED",
"state" : "FINISHED",
"canAddBuffers" : false,
"canAddPages" : false,
"totalBufferedBytes" : 0,
"totalBufferedPages" : 0,
"totalRowsSent" : 101,
"totalPagesSent" : 77,
"buffers" : [ ]
},
"noMoreSplits" : [ ],
"stats" : {
"createTime" : "2018-08-11T12:37:49.401Z",
"firstStartTime" : "2018-08-11T12:37:49.402Z",
"lastStartTime" : "2018-08-11T12:37:49.403Z",
"lastEndTime" : "2018-08-11T12:38:22.416Z",
"endTime" : "2018-08-11T12:38:22.416Z",
"elapsedTime" : "33.01s",
"queuedTime" : "596.62us",
"totalDrivers" : 16,
"queuedDrivers" : 0,
"queuedPartitionedDrivers" : 0,
"runningDrivers" : 0,
"runningPartitionedDrivers" : 0,
"blockedDrivers" : 16,
"completedDrivers" : 0,
"cumulativeUserMemory" : 0.0,
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"totalScheduledTime" : "67.02ms",
"totalCpuTime" : "51.49ms",
"totalUserTime" : "40.00ms",
"totalBlockedTime" : "8.16m",
"fullyBlocked" : false,
"blockedReasons" : [ ],
"rawInputDataSize" : "32.19kB",
"rawInputPositions" : 101,
"processedInputDataSize" : "21.50kB",
"processedInputPositions" : 101,
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"fullGcCount" : 0,
"fullGcTime" : "0.00ns",
"pipelines" : [ {
"pipelineId" : 0,
"firstStartTime" : "2018-08-11T12:37:49.402Z",
"lastStartTime" : "2018-08-11T12:37:49.403Z",
"lastEndTime" : "2018-08-11T12:38:22.416Z",
"inputPipeline" : true,
"outputPipeline" : true,
"totalDrivers" : 16,
"queuedDrivers" : 0,
"queuedPartitionedDrivers" : 0,
"runningDrivers" : 0,
"runningPartitionedDrivers" : 0,
"blockedDrivers" : 16,
"completedDrivers" : 0,
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"queuedTime" : {
"maxError" : 0.0,
"count" : 16.0,
"total" : 1.5426237E7,
"p01" : 341434,
"p05" : 341434,
"p10" : 573981,
"p25" : 806622,
"p50" : 1005578,
"p75" : 1239466,
"p90" : 1282483,
"p95" : 1474065,
"p99" : 1474065,
"min" : 341434,
"max" : 1474065,
"avg" : 964139.8125
},
"elapsedTime" : {
"maxError" : 0.0,
"count" : 16.0,
"total" : 0.0,
"p01" : 0,
"p05" : 0,
"p10" : 0,
"p25" : 0,
"p50" : 0,
"p75" : 0,
"p90" : 0,
"p95" : 0,
"p99" : 0,
"min" : 0,
"max" : 0,
"avg" : 0.0
},
"totalScheduledTime" : "67.02ms",
"totalCpuTime" : "51.49ms",
"totalUserTime" : "40.00ms",
"totalBlockedTime" : "8.16m",
"fullyBlocked" : true,
"blockedReasons" : [ ],
"rawInputDataSize" : "32.19kB",
"rawInputPositions" : 101,
"processedInputDataSize" : "21.50kB",
"processedInputPositions" : 101,
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"operatorSummaries" : [ {
"pipelineId" : 0,
"operatorId" : 0,
"planNodeId" : "91",
"operatorType" : "ExchangeOperator",
"totalDrivers" : 16,
"addInputCalls" : 0,
"addInputWall" : "0.00ns",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "32.19kB",
"inputPositions" : 101,
"sumSquaredInputPositions" : 5471.0,
"getOutputCalls" : 78,
"getOutputWall" : "1.81ms",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "8.14m",
"finishCalls" : 0,
"finishWall" : "0.00ns",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "0B",
"info" : {
"@type" : "exchangeClientStatus",
"bufferedBytes" : 0,
"maxBufferedBytes" : 1656,
"averageBytesPerRequest" : 347,
"successfulRequestsCount" : 1344,
"bufferedPages" : 0,
"noMoreLocations" : false,
"pageBufferClientStatuses" : [ ]
}
}, {
"pipelineId" : 0,
"operatorId" : 1,
"planNodeId" : "6",
"operatorType" : "TaskOutputOperator",
"totalDrivers" : 16,
"addInputCalls" : 77,
"addInputWall" : "16.65ms",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "21.50kB",
"inputPositions" : 101,
"sumSquaredInputPositions" : 5471.0,
"getOutputCalls" : 0,
"getOutputWall" : "0.00ns",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "0.00ns",
"finishCalls" : 0,
"finishWall" : "0.00ns",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "0B"
} ],
"drivers" : [ ]
} ]
},
"needsPlan" : false,
"complete" : true
} ],
"subStages" : [ {
"stageId" : "20180811_123749_00609_ba8j9.1",
"state" : "FAILED",
"self" : "http://10.132.73.29:8080/v1/stage/20180811_123749_00609_ba8j9.1",
"plan" : {
"id" : "1",
"root" : {
"@type" : "filter",
"id" : "95",
"source" : {
"@type" : "tablescan",
"id" : "0",
"table" : {
"connectorId" : "ethereum",
"connectorHandle" : {
"@type" : "ethereum",
"connectorId" : "EthereumConnectorId(connectorId=ethereum)",
"schemaName" : "default",
"tableName" : "erc20"
}
},
"outputSymbols" : [ "erc20_token", "erc20_from", "erc20_to", "erc20_value", "erc20_txhash", "erc20_blocknumber" ],
"assignments" : {
"erc20_token" : {
"@type" : "ethereum",
"connectorId" : "EthereumConnectorId(connectorId=ethereum)",
"ordinalPosition" : 0,
"name" : "erc20_token",
"type" : "varchar"
},
"erc20_value" : {
"@type" : "ethereum",
"connectorId" : "EthereumConnectorId(connectorId=ethereum)",
"ordinalPosition" : 3,
"name" : "erc20_value",
"type" : "double"
},
"erc20_to" : {
"@type" : "ethereum",
"connectorId" : "EthereumConnectorId(connectorId=ethereum)",
"ordinalPosition" : 2,
"name" : "erc20_to",
"type" : "varchar(42)"
},
"erc20_blocknumber" : {
"@type" : "ethereum",
"connectorId" : "EthereumConnectorId(connectorId=ethereum)",
"ordinalPosition" : 5,
"name" : "erc20_blockNumber",
"type" : "bigint"
},
"erc20_txhash" : {
"@type" : "ethereum",
"connectorId" : "EthereumConnectorId(connectorId=ethereum)",
"ordinalPosition" : 4,
"name" : "erc20_txHash",
"type" : "varchar(66)"
},
"erc20_from" : {
"@type" : "ethereum",
"connectorId" : "EthereumConnectorId(connectorId=ethereum)",
"ordinalPosition" : 1,
"name" : "erc20_from",
"type" : "varchar(42)"
}
},
"layout" : {
"connectorId" : "ethereum",
"transactionHandle" : [ "ethereum", "INSTANCE" ],
"connectorHandle" : {
"@type" : "ethereum",
"table" : {
"@type" : "ethereum",
"connectorId" : "EthereumConnectorId(connectorId=ethereum)",
"schemaName" : "default",
"tableName" : "erc20"
},
"blockRanges" : [ {
"startBlock" : 2794589,
"endBlock" : 2795588
} ]
}
},
"currentConstraint" : {
"columnDomains" : [ {
"column" : {
"@type" : "ethereum",
"connectorId" : "EthereumConnectorId(connectorId=ethereum)",
"ordinalPosition" : 5,
"name" : "erc20_blockNumber",
"type" : "bigint"
},
"domain" : {
"values" : {
"@type" : "sortable",
"type" : "bigint",
"ranges" : [ {
"low" : {
"type" : "bigint",
"valueBlock" : "CgAAAExPTkdfQVJSQVkBAAAAAFykKgAAAAAA",
"bound" : "ABOVE"
},
"high" : {
"type" : "bigint",
"valueBlock" : "CgAAAExPTkdfQVJSQVkBAAAAAESoKgAAAAAA",
"bound" : "EXACTLY"
}
} ]
},
"nullAllowed" : false
}
} ]
},
"originalConstraint" : "(("erc20_blocknumber" \u003E BIGINT \u00272794588\u0027) AND ("erc20_blocknumber" \u003C= BIGINT \u00272795588\u0027))"
},
"predicate" : "(("erc20_blocknumber" \u003E BIGINT \u00272794588\u0027) AND ("erc20_blocknumber" \u003C= BIGINT \u00272795588\u0027))"
},
"symbols" : {
"erc20_txhash" : "varchar(66)",
"erc20_value" : "double",
"erc20_blocknumber" : "bigint",
"erc20_to" : "varchar(42)",
"erc20_from" : "varchar(42)",
"erc20_token" : "varchar"
},
"partitioning" : {
"connectorHandle" : {
"@type" : "$remote",
"partitioning" : "SOURCE",
"function" : "UNKNOWN"
}
},
"partitionedSources" : [ "0" ],
"partitioningScheme" : {
"partitioning" : {
"handle" : {
"connectorHandle" : {
"@type" : "$remote",
"partitioning" : "SINGLE",
"function" : "SINGLE"
}
},
"arguments" : [ ]
},
"outputLayout" : [ "erc20_token", "erc20_from", "erc20_to", "erc20_value", "erc20_txhash", "erc20_blocknumber" ],
"replicateNullsAndAny" : false,
"bucketToPartition" : [ 0 ]
},
"pipelineExecutionStrategy" : "UNGROUPED_EXECUTION"
},
"types" : [ "varchar", "varchar(42)", "varchar(42)", "double", "varchar(66)", "bigint" ],
"stageStats" : {
"getSplitDistribution" : {
"maxError" : 0.0,
"count" : 1.0,
"total" : 7773.0,
"p01" : 7773,
"p05" : 7773,
"p10" : 7773,
"p25" : 7773,
"p50" : 7773,
"p75" : 7773,
"p90" : 7773,
"p95" : 7773,
"p99" : 7773,
"min" : 7773,
"max" : 7773,
"avg" : 7773.0
},
"scheduleTaskDistribution" : {
"maxError" : "NaN",
"count" : 0.0,
"total" : 0.0,
"p01" : -9223372036854775808,
"p05" : -9223372036854775808,
"p10" : -9223372036854775808,
"p25" : -9223372036854775808,
"p50" : -9223372036854775808,
"p75" : -9223372036854775808,
"p90" : -9223372036854775808,
"p95" : -9223372036854775808,
"p99" : -9223372036854775808,
"min" : 9223372036854775807,
"max" : -9223372036854775808,
"avg" : "NaN"
},
"addSplitDistribution" : {
"maxError" : "NaN",
"count" : 0.0,
"total" : 0.0,
"p01" : -9223372036854775808,
"p05" : -9223372036854775808,
"p10" : -9223372036854775808,
"p25" : -9223372036854775808,
"p50" : -9223372036854775808,
"p75" : -9223372036854775808,
"p90" : -9223372036854775808,
"p95" : -9223372036854775808,
"p99" : -9223372036854775808,
"min" : 9223372036854775807,
"max" : -9223372036854775808,
"avg" : "NaN"
},
"totalTasks" : 1,
"runningTasks" : 0,
"completedTasks" : 1,
"totalDrivers" : 761,
"queuedDrivers" : 0,
"runningDrivers" : 14,
"blockedDrivers" : 0,
"completedDrivers" : 747,
"cumulativeUserMemory" : 0.0,
"userMemoryReservation" : "0B",
"totalMemoryReservation" : "7.31kB",
"peakUserMemoryReservation" : "0B",
"totalScheduledTime" : "5.77m",
"totalCpuTime" : "2.05s",
"totalUserTime" : "1.68s",
"totalBlockedTime" : "0.00ns",
"fullyBlocked" : false,
"blockedReasons" : [ ],
"rawInputDataSize" : "1.23MB",
"rawInputPositions" : 104,
"processedInputDataSize" : "21.50kB",
"processedInputPositions" : 101,
"bufferedDataSize" : "0B",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"gcInfo" : {
"stageId" : 1,
"tasks" : 1,
"fullGcTasks" : 0,
"minFullGcSec" : 0,
"maxFullGcSec" : 0,
"totalFullGcSec" : 0,
"averageFullGcSec" : 0
},
"operatorSummaries" : [ {
"pipelineId" : 0,
"operatorId" : 0,
"planNodeId" : "95",
"operatorType" : "ScanFilterAndProjectOperator",
"totalDrivers" : 761,
"addInputCalls" : 0,
"addInputWall" : "0.00ns",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "1.23MB",
"inputPositions" : 104,
"sumSquaredInputPositions" : 194.0,
"getOutputCalls" : 760,
"getOutputWall" : "5.77m",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "0.00ns",
"finishCalls" : 0,
"finishWall" : "0.00ns",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "7.31kB",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "2.44kB",
"peakTotalMemoryReservation" : "2.44kB"
}, {
"pipelineId" : 0,
"operatorId" : 1,
"planNodeId" : "95",
"operatorType" : "TaskOutputOperator",
"totalDrivers" : 761,
"addInputCalls" : 77,
"addInputWall" : "10.99ms",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "21.50kB",
"inputPositions" : 101,
"sumSquaredInputPositions" : 191.0,
"getOutputCalls" : 0,
"getOutputWall" : "0.00ns",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "0.00ns",
"finishCalls" : 747,
"finishWall" : "1.87ms",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "0B"
} ]
},
"tasks" : [ {
"taskStatus" : {
"taskId" : "20180811_123749_00609_ba8j9.1.0",
"taskInstanceId" : "71ff8c47-2bfa-4a93-a8cf-22cf04a07a3e",
"version" : 425,
"state" : "FAILED",
"self" : "http://10.132.73.29:8080/v1/task/20180811_123749_00609_ba8j9.1.0",
"nodeId" : "ffffffff-ffff-ffff-ffff-ffffffffffff",
"completedDriverGroups" : [ ],
"failures" : [ {
"type" : "java.lang.IndexOutOfBoundsException",
"message" : "Index: 0, Size: 0",
"suppressed" : [ ],
"stack" : [ "java.util.ArrayList.rangeCheck(ArrayList.java:657)", "java.util.ArrayList.get(ArrayList.java:433)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:156)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:103)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:151)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:151)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:151)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "java.lang.IndexOutOfBoundsException",
"message" : "Index: 0, Size: 0",
"suppressed" : [ ],
"stack" : [ "java.util.ArrayList.rangeCheck(ArrayList.java:657)", "java.util.ArrayList.get(ArrayList.java:433)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:156)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:151)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:151)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:151)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:151)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:151)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:103)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}, {
"type" : "com.facebook.presto.spi.PrestoException",
"message" : "Driver was interrupted",
"cause" : {
"type" : "java.lang.Exception",
"message" : "Interrupted By",
"suppressed" : [ ],
"stack" : [ "java.lang.Thread.getStackTrace(Thread.java:1559)", "com.facebook.presto.operator.Driver$DriverLock.interruptCurrentOwner(Driver.java:774)", "com.facebook.presto.operator.Driver.close(Driver.java:177)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.close(SqlTaskExecution.java:992)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.destroy(PrioritizedSplitRunner.java:115)", "com.facebook.presto.execution.executor.TaskExecutor.doRemoveTask(TaskExecutor.java:272)", "com.facebook.presto.execution.executor.TaskExecutor.removeTask(TaskExecutor.java:249)", "com.facebook.presto.execution.SqlTaskExecution.lambda$new$1(SqlTaskExecution.java:244)", "com.facebook.presto.execution.StateMachine.lambda$fireStateChanged$0(StateMachine.java:222)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
},
"suppressed" : [ {
"type" : "java.lang.IllegalStateException",
"message" : "Unable to get transactionReceipt",
"suppressed" : [ ],
"stack" : [ "im.xiaoyao.presto.ethereum.EthereumLogLazyIterator.hasNext(EthereumLogLazyIterator.java:50)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:103)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"stack" : [ "com.facebook.presto.operator.Driver.processInternal(Driver.java:458)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
} ],
"queuedPartitionedDrivers" : 0,
"runningPartitionedDrivers" : 14,
"outputBufferOverutilized" : false,
"physicalWrittenDataSize" : "0B",
"memoryReservation" : "0B",
"systemMemoryReservation" : "7.31kB",
"fullGcCount" : 0,
"fullGcTime" : "0.00ns"
},
"lastHeartbeat" : "2018-08-11T12:38:22.336Z",
"outputBuffers" : {
"type" : "PARTITIONED",
"state" : "FAILED",
"canAddBuffers" : false,
"canAddPages" : false,
"totalBufferedBytes" : 0,
"totalBufferedPages" : 0,
"totalRowsSent" : 101,
"totalPagesSent" : 77,
"buffers" : [ ]
},
"noMoreSplits" : [ ],
"stats" : {
"createTime" : "2018-08-11T12:37:49.400Z",
"firstStartTime" : "2018-08-11T12:37:49.411Z",
"lastStartTime" : "2018-08-11T12:38:22.393Z",
"lastEndTime" : "2018-08-11T12:38:22.395Z",
"endTime" : "2018-08-11T12:38:22.407Z",
"elapsedTime" : "33.00s",
"queuedTime" : "7.62ms",
"totalDrivers" : 761,
"queuedDrivers" : 0,
"queuedPartitionedDrivers" : 0,
"runningDrivers" : 14,
"runningPartitionedDrivers" : 14,
"blockedDrivers" : 0,
"completedDrivers" : 747,
"cumulativeUserMemory" : 0.0,
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "7.31kB",
"totalScheduledTime" : "5.77m",
"totalCpuTime" : "2.05s",
"totalUserTime" : "1.68s",
"totalBlockedTime" : "0.00ns",
"fullyBlocked" : false,
"blockedReasons" : [ ],
"rawInputDataSize" : "1.23MB",
"rawInputPositions" : 104,
"processedInputDataSize" : "21.50kB",
"processedInputPositions" : 101,
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"fullGcCount" : 0,
"fullGcTime" : "0.00ns",
"pipelines" : [ {
"pipelineId" : 0,
"firstStartTime" : "2018-08-11T12:37:49.411Z",
"lastStartTime" : "2018-08-11T12:38:22.393Z",
"lastEndTime" : "2018-08-11T12:38:22.395Z",
"inputPipeline" : true,
"outputPipeline" : true,
"totalDrivers" : 761,
"queuedDrivers" : 0,
"queuedPartitionedDrivers" : 0,
"runningDrivers" : 14,
"runningPartitionedDrivers" : 14,
"blockedDrivers" : 0,
"completedDrivers" : 747,
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "7.31kB",
"queuedTime" : {
"maxError" : 0.0,
"count" : 761.0,
"total" : 1.277591226042E12,
"p01" : 496714,
"p05" : 1271948,
"p10" : 3342586,
"p25" : 576181826,
"p50" : 1640125884,
"p75" : 2518702100,
"p90" : 3503871675,
"p95" : 3825728928,
"p99" : 4221121022,
"min" : 369039,
"max" : 4779137407,
"avg" : 1.6788320972956636E9
},
"elapsedTime" : {
"maxError" : 0.0,
"count" : 761.0,
"total" : 1.590741791066E12,
"p01" : 0,
"p05" : 158083084,
"p10" : 420026066,
"p25" : 976164157,
"p50" : 2002827733,
"p75" : 2982885739,
"p90" : 3878374130,
"p95" : 4341378492,
"p99" : 5441162104,
"min" : 0,
"max" : 8508332217,
"avg" : 2.0903308686806834E9
},
"totalScheduledTime" : "5.77m",
"totalCpuTime" : "2.05s",
"totalUserTime" : "1.68s",
"totalBlockedTime" : "0.00ns",
"fullyBlocked" : false,
"blockedReasons" : [ ],
"rawInputDataSize" : "1.23MB",
"rawInputPositions" : 104,
"processedInputDataSize" : "21.50kB",
"processedInputPositions" : 101,
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"operatorSummaries" : [ {
"pipelineId" : 0,
"operatorId" : 0,
"planNodeId" : "95",
"operatorType" : "ScanFilterAndProjectOperator",
"totalDrivers" : 761,
"addInputCalls" : 0,
"addInputWall" : "0.00ns",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "1.23MB",
"inputPositions" : 104,
"sumSquaredInputPositions" : 194.0,
"getOutputCalls" : 760,
"getOutputWall" : "5.77m",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "0.00ns",
"finishCalls" : 0,
"finishWall" : "0.00ns",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "7.31kB",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "2.44kB",
"peakTotalMemoryReservation" : "2.44kB"
}, {
"pipelineId" : 0,
"operatorId" : 1,
"planNodeId" : "95",
"operatorType" : "TaskOutputOperator",
"totalDrivers" : 761,
"addInputCalls" : 77,
"addInputWall" : "10.99ms",
"addInputCpu" : "0.00ns",
"addInputUser" : "0.00ns",
"inputDataSize" : "21.50kB",
"inputPositions" : 101,
"sumSquaredInputPositions" : 191.0,
"getOutputCalls" : 0,
"getOutputWall" : "0.00ns",
"getOutputCpu" : "0.00ns",
"getOutputUser" : "0.00ns",
"outputDataSize" : "21.50kB",
"outputPositions" : 101,
"physicalWrittenDataSize" : "0B",
"blockedWall" : "0.00ns",
"finishCalls" : 747,
"finishWall" : "1.87ms",
"finishCpu" : "0.00ns",
"finishUser" : "0.00ns",
"userMemoryReservation" : "0B",
"revocableMemoryReservation" : "0B",
"systemMemoryReservation" : "0B",
"peakUserMemoryReservation" : "0B",
"peakSystemMemoryReservation" : "0B",
"peakTotalMemoryReservation" : "0B"
} ],
"drivers" : [ ]
} ]
},
"needsPlan" : false,
"complete" : true
} ],
"subStages" : [ ],
"failureCause" : {
"type" : "java.lang.IndexOutOfBoundsException",
"message" : "Index: 0, Size: 0",
"suppressed" : [ ],
"stack" : [ "java.util.ArrayList.rangeCheck(ArrayList.java:657)", "java.util.ArrayList.get(ArrayList.java:433)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:156)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ],
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
}
}
} ]
},
"failureInfo" : {
"type" : "java.lang.IndexOutOfBoundsException",
"message" : "Index: 0, Size: 0",
"suppressed" : [ ],
"stack" : [ "java.util.ArrayList.rangeCheck(ArrayList.java:657)", "java.util.ArrayList.get(ArrayList.java:433)", "im.xiaoyao.presto.ethereum.EthereumRecordCursor.advanceNextPosition(EthereumRecordCursor.java:156)", "com.facebook.presto.$gen.CursorProcessor_20180811_123749_2782.process(Unknown Source)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.processColumnSource(ScanFilterAndProjectOperator.java:237)", "com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:229)", "com.facebook.presto.operator.Driver.processInternal(Driver.java:373)", "com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:282)", "com.facebook.presto.operator.Driver.tryWithLock(Driver.java:672)", "com.facebook.presto.operator.Driver.processFor(Driver.java:276)", "com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:973)", "com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)", "com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:477)", "java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "java.lang.Thread.run(Thread.java:748)" ]
},
"errorCode" : {
"code" : 65536,
"name" : "GENERIC_INTERNAL_ERROR",
"type" : "INTERNAL_ERROR"
},
"inputs" : [ {
"connectorId" : "ethereum",
"schema" : "default",
"table" : "erc20",
"columns" : [ {
"name" : "erc20_from",
"type" : "varchar(42)"
}, {
"name" : "erc20_token",
"type" : "varchar"
}, {
"name" : "erc20_value",
"type" : "double"
}, {
"name" : "erc20_txhash",
"type" : "varchar(66)"
}, {
"name" : "erc20_to",
"type" : "varchar(42)"
}, {
"name" : "erc20_blocknumber",
"type" : "bigint"
} ]
} ],
"resourceGroupId" : [ "global" ],
"errorType" : "INTERNAL_ERROR",
"finalQueryInfo" : true
}
Here is my hive.properties:
connector.name=hive-hadoop2
hive.metastore.uri=thrift://localhost:9083
hive.config.resources=/home/eweb/Downloads/hadoop/etc/hadoop/core-site.xml,/home/eweb/Downloads/hadoop/etc/hadoop/hdfs-site.xml
And here is my hive-site.xml :
<property>
<name>hive.metastore.uri</name>
<value>thrift://localhost:9083</value>
</property>
<property>
<name>hive.metastore.schema.verification</name>
<value>true</value>
</property>
<property>
<name>hive.metastore.warehouse.dir</name>
<value>/user/hive/warehouse</value>
<description>location of default database for the warehouse</description>
</property>
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:mysql://localhost:3306/Demo?createDatabaseIfNotExist=true</value>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>com.mysql.jdbc.Driver</value>
</property>
<property>
<name>javax.jdo.option.ConnectionUserName</name>
<value>root</value>
</property>
<property>
<name>javax.jdo.option.ConnectionPassword</name>
<value>password</value>
</property>
I have tried this in terminal :
bin/presto --server localhost:8080 --catalog hive --schema bookvip
presto:bookvip> SHOW SCHEMAS;
Is there any kind of setup error or any other error ??
Hi, I have encountered this problem for a long time.
I followed the instructions to install presto, presto-cli. For presto, I used discovery.uri=http://127.0.0.1:8080, and in hive.properties I use hive.metastore.uri=thrift://127.0.0.1:9083.
Following the instructions,
But when I want to do the query, it raises the problem:
And when I try to run the example query, it shows:
I am not sure what is going on wrong. Seeking for help. Thanks in advance
Using log filters instead of retrieving transaction receipts significantly improves performance of ERC20 retrieval https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getfilterlogs
My tests show 100x improvement for some blocks. Here is an example implementation in python https://github.com/medvedev1088/ethereum-etl/blob/88fd6792707fa8c0fdfd5ff199bc3ff44b9a1aae/ethereumetl/jobs.py#L155
do you know if it's possible to 'seed' a test environment with production blockchain?
eg. when you fire up testrpc - your granted wallets / imaginary ether etc
what I'm trying to do is re-run the same $32 million commands that were run the other week on a forked / local blockchain. or maybe it's possible to simulate this by importing faulty smart contract?
presto:default> select erc20_token,sum(erc20_value) from erc20 where erc20_blocknumber >= 4147340 and erc20_blocknumber < 4147350 group by erc20_token;
Query 20180309_035743_00011_vd6da failed: null
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr Exception in thread "query-scheduler-6"
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr java.lang.AbstractMethodError
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.split.SplitManager.getSplits(SplitManager.java:64)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitTableScan(DistributedExecutionPlanner.java:146)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitTableScan(DistributedExecutionPlanner.java:122)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.plan.TableScanNode.accept(TableScanNode.java:136)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitFilter(DistributedExecutionPlanner.java:201)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitFilter(DistributedExecutionPlanner.java:122)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.plan.FilterNode.accept(FilterNode.java:72)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitProject(DistributedExecutionPlanner.java:265)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitProject(DistributedExecutionPlanner.java:122)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.plan.ProjectNode.accept(ProjectNode.java:92)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitAggregation(DistributedExecutionPlanner.java:229)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitAggregation(DistributedExecutionPlanner.java:122)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.plan.AggregationNode.accept(AggregationNode.java:182)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner.doPlan(DistributedExecutionPlanner.java:108)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner.doPlan(DistributedExecutionPlanner.java:113)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner.doPlan(DistributedExecutionPlanner.java:113)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.sql.planner.DistributedExecutionPlanner.plan(DistributedExecutionPlanner.java:85)
2018-03-09T14:57:43.526+1100 INFO query-scheduler-6 stderr at com.facebook.presto.execution.SqlQueryExecution.planDistribution(SqlQueryExecution.java:409)
2018-03-09T14:57:43.527+1100 INFO query-scheduler-6 stderr at com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:280)
2018-03-09T14:57:43.527+1100 INFO query-scheduler-6 stderr at com.facebook.presto.execution.QueuedExecution.lambda$start$1(QueuedExecution.java:62)
2018-03-09T14:57:43.527+1100 INFO query-scheduler-6 stderr at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
2018-03-09T14:57:43.527+1100 INFO query-scheduler-6 stderr at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
2018-03-09T14:57:43.527+1100 INFO query-scheduler-6 stderr at java.lang.Thread.run(Thread.java:745)
2018-03-09T14:57:43.723+1100 INFO query-execution-5 com.facebook.presto.event.query.QueryMonitor TIMELINE: Query 20180309_035743_00011_vd6da :: Transaction:[d633dc7b-cf76-4046-a7b3-d9cb1ba08d21] :: elapsed 50ms :: planning 50ms :: scheduling 0ms :: running 0ms :: finishing 0ms :: begin 2018-03-09T14:57:43.475+11:00 :: end 2018-03-09T14:57:43.525+11:00
and ideas?
great work @xiaoyao1991
if we come up with a standard interface and make each smart contract adhere to certain standards, we could potentially turn each contract into a table.
contract Users {
struct User {
uint public id;
address public user;
bytes public email;
}
mapping (uint => User) users;
function addUser(address _user, bytes _email) public returns (bool success) {
...
}
...
}
contract UserMetas {
struct Meta {
byte public streetAddress;
bool public accountEnabled;
uint public age;
}
// where uint is the foreign key
mapping (uint => Meta) metas;
}
to get user 1 details, we could
select result from UserMetas, User where User.id = UserMetas.id and User.id = 1;
We are turning the blockchain like a normal db. I think there might be use case for this.
Greetings,
I'm contacting you today to ask for support in installing presto-ethereum on AWS EMR. I have the plugin installed and configured on the server, I launch the "bin/launcher" and it crashes when I run the presto-cli command.
I get error "failed: Catalog ethereum does not exist", While I have the plugin installed and extracted in the plugins folder and I added the catalog/ethereum.properties file in the root folder.
Thank you in advanced for any help!
Hi, I followed your instructions but when I try querying I don't get any results.
I tried presto> show catalogs but only see one System catalog:
system
(1 row)
I wasn't quite sure if I was supposed to install the presto-cli to some specific location or anything. However, I do have the ethereum.properties file in etc/catalog. I'm connecting to Infura in the ethereum.properties file.
Any thought on what I could have done wrong to not see any catalogs?
Why not opensource this to the presto repo?
Transactions should be in a separate table
I'm getting an error that the factory for the ethereum connector is missing, what am I doing wrong? I'm no presto expert, so I'm a bit clueless here...
2018-05-08T08:59:04.736Z INFO main com.facebook.presto.metadata.StaticCatalogStore -- Loading catalog etc/catalog/ethereum.properties --
2018-05-08T08:59:04.758Z ERROR main com.facebook.presto.server.PrestoServer No factory for connector ethereum
java.lang.IllegalArgumentException: No factory for connector ethereum
From presto documentation alone it's difficult to see how to access the plugin through the CLI. For example, after simply starting the CLI the Ethereum tables are not available.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.