Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> hive zookeeper locks.


Copy link to this message
-
Re: hive zookeeper locks.
Somewhere lower in my config file I set a incorrect LockManager so now
it works :)

On 09/07/2011 04:02 PM, Bennie Schut wrote:
> I've been trying to play with locks in hive using zookeeper but can't
> find documentation on how to configure it. I now have:
> <property>
> <name>hive.supports.concurrency</name>
> <value>true</value>
> </property>
>
> <property>
> <name>hive.zookeeper.quorum</name>
> <value>localhost</value>
> </property>
>
> But I keep getting errors like this:
>
> 11/09/07 15:47:57 ERROR exec.DDLTask: FAILED: Error in metadata: show
> Locks LockManager not specified
> org.apache.hadoop.hive.ql.metadata.HiveException: show Locks LockManager
> not specified
>       at org.apache.hadoop.hive.ql.exec.DDLTask.showLocks(DDLTask.java:1791)
>       at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:306)
>       at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:130)
>       at
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)
>       at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1060)
>       at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:897)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:745)
>       at
> org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:116)
>       at
> org.apache.hadoop.hive.service.ThriftHive$Processor$execute.process(ThriftHive.java:699)
>       at
> org.apache.hadoop.hive.service.ThriftHive$Processor.process(ThriftHive.java:677)
>       at
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:619)
>
> Any idea what I'm doing wrong?
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB