lens-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivasan Hariharan <srinivasan.hariha...@outlook.com>
Subject RE: Htrace Error
Date Mon, 01 Jun 2015 18:03:32 GMT
Adding to that I am getting this error while using below hivedriversit configuration. I am
not getting this error while using default config.

<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<configuration>
  <property>
    <name>lens.driver.jdbc.driver.class</name>
    <value>com.mysql.jdbc.Driver</value>
  </property>
  <property>
    <name>lens.driver.jdbc.db.uri</name>
    <value>jdbc:mysql://192.168.118.128/lensdriver;MODE=MYSQL</value>
  </property>
  <property>
    <name>lens.driver.jdbc.db.user</name>
    <value>xxxx</value>
  </property>
  <property>
     <name>lens.driver.jdbc.db.password</name>
     <value>xxxx</value>
  </property>
  <property>
    <name>lens.cube.query.driver.supported.storages</name>
    <value>mydb</value>
    <final>true</final>
  </property>
  <property>
    <name>lens.driver.jdbc.query.rewriter</name>
    <value>org.apache.lens.driver.jdbc.ColumnarSQLRewriter</value>
  </property>
  <property>
    <name>lens.driver.jdbc.explain.keyword</name>
    <value>explain plan for </value>
  </property>
</configuration>




From: srinivasan.hariharan@outlook.com
To: user@lens.incubator.apache.org
Subject: RE: Htrace Error
Date: Mon, 1 Jun 2015 23:24:30 +0530




Hadoop 2.6

Date: Mon, 1 Jun 2015 22:57:56 +0530
Subject: Re: Htrace Error
From: arshad.matin@inmobi.com
To: user@lens.incubator.apache.org

which hadoop version are you using?
On Mon, Jun 1, 2015 at 9:28 PM, Srinivasan Hariharan <srinivasan.hariharan@outlook.com>
wrote:





Hi,

I am getting the below error message when trying to create storage from lens client shell.
Could anyone help to troubleshoot this error. 

ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler  - java.lang.NoClassDefFoundError:
org/htrace/Trace
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:214)
        at com.sun.proxy.$Proxy59.getFileInfo(Unknown Source)
        at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:752)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
        at com.sun.proxy.$Proxy60.getFileInfo(Unknown Source)
        at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1988)
        at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1118)
        at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114)
        at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
        at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1114)
        at org.apache.hadoop.hive.metastore.Warehouse.isDir(Warehouse.java:485)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_core(HiveMetaStore.java:1238)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_with_environment_context(HiveMetaStore.java:1295)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:105)
        at com.sun.proxy.$Proxy8.create_table_with_environment_context(Unknown Source)
        at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:558)
        at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:547)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:89)
        at com.sun.proxy.$Proxy9.createTable(Unknown Source)
        at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:613)
        at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:576)
        at org.apache.lens.cube.metadata.CubeMetastoreClient.createCubeHiveTable(CubeMetastoreClient.java:421)
        at org.apache.lens.cube.metadata.CubeMetastoreClient.createStorage(CubeMetastoreClient.java:431)
        at org.apache.lens.server.metastore.CubeMetastoreServiceImpl.createStorage(CubeMetastoreServiceImpl.java:938)
        at org.apache.lens.server.metastore.MetastoreResource.createNewStorage(MetastoreResource.java:462)

 		 	   		   		 	   		  





_____________________________________________________________The information contained in
this communication is intended solely for the use of the individual or entity to whom it is
addressed and others authorized to receive it. It may contain confidential or legally privileged
information. If you are not the intended recipient you are hereby notified that any disclosure,
copying, distribution or taking any action in reliance on the contents of this information
is strictly prohibited and may be unlawful. If you have received this communication in error,
please notify us immediately by responding to this email and then delete it from your system.
The firm is neither liable for the proper and complete transmission of the information contained
in this communication nor for any delay in its receipt. 		 	   		   		 	   		  
Mime
View raw message