Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hive always local mode

SOLVED Go to solution

hive always local mode

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

Accepted Solutions

Re: hive always local mode

New Contributor

I was solved this problem ;)

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

1 REPLY 1

Re: hive always local mode

New Contributor

I was solved this problem ;)

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