Moving this over to impala-user@cloudera.org, which should be able to help
you with this issue.
--
Aaron T. Myers
Software Engineer, Cloudera
On Thu, Apr 25, 2013 at 6:05 AM, rahul mathur
wrote:
Hi,
I am facing an error : "*Error communicating with impalad: TSocket read 0
bytes" *which causes a JRE crash, this error results when I run select
query on impala-shell. Following are the logs generated after this error in
impala_server.log :
13/04/25 11:09:23 INFO service.Frontend: analyze query select * from ex
13/04/25 11:09:23 INFO catalog.HdfsTable: load table ex
13/04/25 11:09:24 INFO catalog.HdfsTable: load partition block md for ex
13/04/25 11:09:24 INFO catalog.HdfsTable: loaded partition
PartitionBlockMetadata{#blocks=0, #filenames=0, totalStringLen=0}
13/04/25 11:09:24 INFO catalog.HdfsTable: loaded partition
PartitionBlockMetadata{#blocks=1, #filenames=1, totalStringLen=104}
13/04/25 11:09:24 INFO catalog.HdfsTable: loaded disk ids for table
default.ex
13/04/25 11:09:24 INFO catalog.HdfsTable: 2
13/04/25 11:09:24 INFO catalog.HdfsTable: table #rows=0
13/04/25 11:09:24 INFO service.Frontend: create plan
13/04/25 11:09:24 INFO planner.Planner: create single-node plan
13/04/25 11:09:24 INFO planner.HdfsScanNode: collecting partitions for
table ex
13/04/25 11:09:24 INFO planner.HdfsScanNode: finalize HdfsScan:
cardinality=0
13/04/25 11:09:24 INFO planner.HdfsScanNode: finalize HdfsScan: #nodes=2
13/04/25 11:09:24 INFO planner.Planner: create plan fragments
13/04/25 11:09:24 INFO planner.Planner: finalize plan fragments
13/04/25 11:09:25 INFO service.Frontend: get scan range locations
13/04/25 11:09:25 INFO service.Frontend: create result set metadata
13/04/25 11:09:25 INFO service.JniFrontend: Plan Fragment 0
UNPARTITIONED
EXCHANGE (1)
TUPLE IDS: 0
Plan Fragment 1
RANDOM
STREAM DATA SINK
EXCHANGE ID: 1
UNPARTITIONED
SCAN HDFS table=default.ex #partitions=1 size=265B (0)
TUPLE IDS: 0
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00000000008ed857, pid=22887, tid=140607123736320
#
# JRE version: 7.0_21-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# C [impalad+0x4ed857] * impala::HdfsScanNode::UpdateCounters()+0x97*
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# */var/run/impala/hs_err_pid22887.log*
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
There is one more log file generated under the home directory of impala
user like "hs_err_pid22887.log" by JRE.
I tried running same queries on HIVE which showed correct result from
local and remote client. Also, tried both 0.7 and latest version 1.0 but
both are throwing same error. Please reply with a solution ASAP.
Thanks in advance,
*Rahul Mathur*
--
I am facing an error : "*Error communicating with impalad: TSocket read 0
bytes" *which causes a JRE crash, this error results when I run select
query on impala-shell. Following are the logs generated after this error in
impala_server.log :
13/04/25 11:09:23 INFO service.Frontend: analyze query select * from ex
13/04/25 11:09:23 INFO catalog.HdfsTable: load table ex
13/04/25 11:09:24 INFO catalog.HdfsTable: load partition block md for ex
13/04/25 11:09:24 INFO catalog.HdfsTable: loaded partition
PartitionBlockMetadata{#blocks=0, #filenames=0, totalStringLen=0}
13/04/25 11:09:24 INFO catalog.HdfsTable: loaded partition
PartitionBlockMetadata{#blocks=1, #filenames=1, totalStringLen=104}
13/04/25 11:09:24 INFO catalog.HdfsTable: loaded disk ids for table
default.ex
13/04/25 11:09:24 INFO catalog.HdfsTable: 2
13/04/25 11:09:24 INFO catalog.HdfsTable: table #rows=0
13/04/25 11:09:24 INFO service.Frontend: create plan
13/04/25 11:09:24 INFO planner.Planner: create single-node plan
13/04/25 11:09:24 INFO planner.HdfsScanNode: collecting partitions for
table ex
13/04/25 11:09:24 INFO planner.HdfsScanNode: finalize HdfsScan:
cardinality=0
13/04/25 11:09:24 INFO planner.HdfsScanNode: finalize HdfsScan: #nodes=2
13/04/25 11:09:24 INFO planner.Planner: create plan fragments
13/04/25 11:09:24 INFO planner.Planner: finalize plan fragments
13/04/25 11:09:25 INFO service.Frontend: get scan range locations
13/04/25 11:09:25 INFO service.Frontend: create result set metadata
13/04/25 11:09:25 INFO service.JniFrontend: Plan Fragment 0
UNPARTITIONED
EXCHANGE (1)
TUPLE IDS: 0
Plan Fragment 1
RANDOM
STREAM DATA SINK
EXCHANGE ID: 1
UNPARTITIONED
SCAN HDFS table=default.ex #partitions=1 size=265B (0)
TUPLE IDS: 0
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00000000008ed857, pid=22887, tid=140607123736320
#
# JRE version: 7.0_21-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# C [impalad+0x4ed857] * impala::HdfsScanNode::UpdateCounters()+0x97*
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# */var/run/impala/hs_err_pid22887.log*
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
There is one more log file generated under the home directory of impala
user like "hs_err_pid22887.log" by JRE.
I tried running same queries on HIVE which showed correct result from
local and remote client. Also, tried both 0.7 and latest version 1.0 but
both are throwing same error. Please reply with a solution ASAP.
Thanks in advance,
*Rahul Mathur*
--