You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/03/01 06:00:05 UTC
[jira] [Updated] (LENS-369) Cube metastore client's conf is not
loaded with db resources
[ https://issues.apache.org/jira/browse/LENS-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated LENS-369:
-----------------------------------------
Reporter: Arshad Matin (was: Amareshwari Sriramadasu)
> Cube metastore client's conf is not loaded with db resources
> ------------------------------------------------------------
>
> Key: LENS-369
> URL: https://issues.apache.org/jira/browse/LENS-369
> Project: Apache Lens
> Issue Type: Bug
> Components: server
> Affects Versions: 2.1
> Reporter: Arshad Matin
> Assignee: Amareshwari Sriramadasu
> Priority: Critical
> Fix For: 2.1
>
>
> Show cubes as the first call in session fails with ClassNotFoundException, when one of tables in metastore is created with custom serde; and the resources are added through db resources.
> Here is the stacktrace :
> {noformat}
> 01 Mar 2015 10:15:48,354 [Grizzly-worker(2)] ERROR hive.log - error in initSerDe: java.lang.ClassNotFoundException Class <customSerde> not found
> java.lang.ClassNotFoundException: Class <customSerde> not found
> at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1801)
> at org.apache.hadoop.hive.metastore.MetaStoreUtils.getDeserializer(MetaStoreUtils.java:337)
> at org.apache.hadoop.hive.ql.metadata.Table.getDeserializerFromMetaStore(Table.java:283)
> at org.apache.hadoop.hive.ql.metadata.Table.getDeserializer(Table.java:276)
> at org.apache.hadoop.hive.ql.metadata.Table.getCols(Table.java:626)
> at org.apache.hadoop.hive.ql.metadata.Table.checkValidity(Table.java:184)
> at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1008)
> at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:909)
> at org.apache.lens.cube.metadata.CubeMetastoreClient.getTable(CubeMetastoreClient.java:663)
> at org.apache.lens.cube.metadata.CubeMetastoreClient.getCube(CubeMetastoreClient.java:880)
> at org.apache.lens.cube.metadata.CubeMetastoreClient.getAllCubes(CubeMetastoreClient.java:997)
> at org.apache.lens.server.metastore.CubeMetastoreServiceImpl.getAllCubeNames(CubeMetastoreServiceImpl.java:165)
> at org.apache.lens.server.metastore.MetastoreResource.getAllCubes(MetastoreResource.java:261)
> {noformat}
> Reporting this on behalf of [~arshadmatin20]. Thanks [~arshadmatin20] for finding the issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)