Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

hive always local mode

avatar
New Contributor

im install CDH5.1.0-1.cdh5.1.0.p0.53 parcel

hive query always in local mode 

 

14/08/22 15:53:53 WARN conf.HiveConf: DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a valid value for hive.metastore.uris if you are connecting to a remote metastore.
Execution log at: /tmp/.log
Job running in-process (local Hadoop)
2014-08-22 15:53:56,894 null map = 0%, reduce = 0%
Ended Job = job_local1041480040_0001 with errors
Error during job, obtaining debugging information...
Job Tracking URL: http://localhost:8080/
Execution failed with exit status: 2
Obtaining error information

Task failed!
Task ID:
Stage-1

Logs:

/tmp/ubuntu/hive.log
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

 

log file:

java.lang.Exception: java.lang.OutOfMemoryError: Java heap space
| at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
| at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:522)
Caused by: java.lang.OutOfMemoryError: Java heap space
| at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.init(MapTask.java:963)
| at org.apache.hadoop.mapred.MapTask.createSortingCollector(MapTask.java:391)
| at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:419)
| at org.apache.hadoop.mapred.MapTask.run(MapTask.java:342)
| at org.apache.hadoop.mapred.LocalJobRunner$Job$MapTaskRunnable.run(LocalJobRunner.java:243)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
| at java.util.concurrent.FutureTask.run(FutureTask.java:262)
| at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
| at java.lang.Thread.run(Thread.java:745)

1 ACCEPTED SOLUTION

avatar
New Contributor

I was solved this problem 😉

when i was intsall CDH5, im not remvoe the old config file in /etc directory.

View solution in original post

1 REPLY 1

avatar
New Contributor

I was solved this problem 😉

when i was intsall CDH5, im not remvoe the old config file in /etc directory.