hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghotham Murthy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-150) group by count(1) will get error
Date Thu, 11 Dec 2008 20:28:46 GMT

     [ https://issues.apache.org/jira/browse/HIVE-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Raghotham Murthy updated HIVE-150:
----------------------------------

    Attachment: hive-150.1.patch

Hi YihueyChyi,

There is an issue with service/build.xml. It currently assumes that you have thrift installed.
I am attaching the diff which will allow the build to proceed even if you dont have thrift
(this is ok since we are checking in the thrift generated code as well). Please apply this
patch (by running patch -p0 < hive-150.1.patch in the hive top level directory.


> group by count(1) will get error
> --------------------------------
>
>                 Key: HIVE-150
>                 URL: https://issues.apache.org/jira/browse/HIVE-150
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.20.0
>         Environment: HADOOP 0.17.2.1 
>            Reporter: YihueyChyi
>             Fix For: 0.20.0
>
>         Attachments: hive-150.1.patch
>
>
> HIVEQL:  select l.http_user_agent,count(1) from log_resume_all l  group by l.http_user_agent
> Maybe I'll get error in the second stage:
>     FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.ExecDriver
> The second stage :
> map error 
> java.lang.NullPointerException
> 	at org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.process(ReduceSinkOperator.java:151)
> 	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:250)
> 	at org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:174)
> 	at org.apache.hadoop.hive.ql.exec.ExecMapper.map(ExecMapper.java:71)
> 	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:47)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219)
> 	at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2122)
> syslog logs
> 2008-12-10 15:41:15,209 DEBUG org.apache.hadoop.mapred.TaskTracker: Child starting
> 2008-12-10 15:41:15,717 INFO org.apache.hadoop.metrics.jvm.JvmMetrics: Initializing JVM
Metrics with processName=MAP, sessionId=
> 2008-12-10 15:41:15,805 INFO org.apache.hadoop.mapred.MapTask: numReduceTasks: 64
> 2008-12-10 15:41:16,252 INFO org.apache.hadoop.util.NativeCodeLoader: Loaded the native-hadoop
library
> 2008-12-10 15:41:16,253 INFO org.apache.hadoop.io.compress.zlib.ZlibFactory: Successfully
loaded & initialized native-zlib library
> 2008-12-10 15:41:16,424 INFO org.apache.hadoop.hive.ql.exec.MapOperator: Initializing
Self
> 2008-12-10 15:41:16,428 INFO org.apache.hadoop.hive.ql.exec.MapOperator: Adding alias
/tmp/hive-root/462573742/46102483.10002 to work list for file /tmp/hive-root/462573742/46102483.10002/0015_r_000029_0
> 2008-12-10 15:41:16,438 INFO org.apache.hadoop.hive.ql.exec.MapOperator: Got partitions:
null
> 2008-12-10 15:41:16,438 INFO org.apache.hadoop.hive.ql.exec.ReduceSinkOperator: Initializing
Self
> 2008-12-10 15:41:16,443 INFO org.apache.hadoop.hive.ql.exec.ReduceSinkOperator: Using
tag = -1
> 2008-12-10 15:41:16,460 INFO org.apache.hadoop.hive.serde2.thrift.TBinarySortableProtocol:
Sort order is ""
> 2008-12-10 15:41:16,460 INFO org.apache.hadoop.hive.serde2.thrift.TBinarySortableProtocol:
Sort order is ""
> 2008-12-10 15:41:16,489 INFO org.apache.hadoop.hive.ql.exec.MapOperator: DESERIALIZE_ERRORS:0
> 2008-12-10 15:41:16,495 WARN org.apache.hadoop.mapred.TaskTracker: Error running child
> java.lang.NullPointerException
> 	at org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.process(ReduceSinkOperator.java:151)
> 	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:250)
> 	at org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:174)
> 	at org.apache.hadoop.hive.ql.exec.ExecMapper.map(ExecMapper.java:71)
> 	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:47)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:219)
> 	at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2122)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message