New Contributor
Posts: 2
Registered: ‎08-22-2014
Accepted Solution

hive always local mode

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:


FAILED: Execution Error, return code 2 from


log file:

java.lang.Exception: java.lang.OutOfMemoryError: Java heap space
| at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(
| at org.apache.hadoop.mapred.LocalJobRunner$
Caused by: java.lang.OutOfMemoryError: Java heap space
| at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.init(
| at org.apache.hadoop.mapred.MapTask.createSortingCollector(
| at org.apache.hadoop.mapred.MapTask.runOldMapper(
| at
| at org.apache.hadoop.mapred.LocalJobRunner$Job$
| at java.util.concurrent.Executors$
| at
| at java.util.concurrent.ThreadPoolExecutor.runWorker(
| at java.util.concurrent.ThreadPoolExecutor$
| at

New Contributor
Posts: 2
Registered: ‎08-22-2014

Re: hive always local mode

I was solved this problem ;)

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