[ 
https://issues.apache.org/jira/browse/HIVE-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288587#comment-13288587
 ] 

rohithsharma commented on HIVE-3060:
------------------------------------

I verified with patch. It is working fine. Please duplicate this issue. Thanks 
:-)
                
> ClassNotFoundError while executing the getClusterStatus API
> -----------------------------------------------------------
>
>                 Key: HIVE-3060
>                 URL: https://issues.apache.org/jira/browse/HIVE-3060
>             Project: Hive
>          Issue Type: Bug
>          Components: Shims
>    Affects Versions: 0.9.0
>            Reporter: Kristam Subba Swathi
>
> Please find the exception trace
> ----------------------------
> {noformat}
> Exception in thread "pool-1-thread-3" java.lang.NoClassDefFoundError: 
> org/apache/hadoop/mapred/JobTracker$State
>       at 
> org.apache.hadoop.hive.shims.Hadoop20SShims$2.<clinit>(Hadoop20SShims.java:35)
>       at 
> org.apache.hadoop.hive.shims.Hadoop20SShims.getJobTrackerState(Hadoop20SShims.java:35)
>       at 
> org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.getClusterStatus(HiveServer.java:244)
>       at 
> org.apache.hadoop.hive.service.ThriftHive$Processor$getClusterStatus.getResult(ThriftHive.java:749)
>       at 
> org.apache.hadoop.hive.service.ThriftHive$Processor$getClusterStatus.getResult(ThriftHive.java:737)
>       at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
>       at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
>       at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
>       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:662)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.mapred.JobTracker$State
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to