Oracle 11g Hive 2.1 metastore backend

2018-06-05 Thread Arjun kr
Hi All,

Is anyone using Oracle 11g configured as Hive 2.1 metastore backend? I'm 
encountering below exception with Oracle 11g configured as Hive 2.1 metastore 
backend. Any help would be appreciated.

2018-05-23T13:05:03,219 DEBUG [main] transport.TSaslTransport: CLIENT: reading 
data length: 211
2018-05-23T13:05:03,220 DEBUG [main] transport.TSaslTransport: data length 
after unwrap: 179
2018-05-23T13:05:03,245 ERROR [main] exec.DDLTask: 
org.apache.hadoop.hive.ql.metadata.HiveException: 
MetaException(message:java.lang.ClassCastException: 
org.datanucleus.store.rdbms.mapping.datastore.ClobImpl cannot be cast to 
oracle.sql.CLOB)
at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:842)
at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:847)
at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3992)
at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:332)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:197)
at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2074)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1745)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1454)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1172)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1162)
at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:234)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:185)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:401)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:337)
at org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:435)
at org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:451)
at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:763)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:729)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:652)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:647)
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:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: MetaException(message:java.lang.ClassCastException: 
org.datanucleus.store.rdbms.mapping.datastore.ClobImpl cannot be cast to 
oracle.sql.CLOB)
at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result$create_table_with_environment_context_resultStandardScheme.read(ThriftHiveMetastore.java:41498)
at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result$create_table_with_environment_context_resultStandardScheme.read(ThriftHiveMetastore.java:41466)
at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result.read(ThriftHiveMetastore.java:41392)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:86)
at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_create_table_with_environment_context(ThriftHiveMetastore.java:1183)
at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.create_table_with_environment_context(ThriftHiveMetastore.java:1169)
at 
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.create_table_with_environment_context(HiveMetaStoreClient.java:2334)
at 
org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.create_table_with_environment_context(SessionHiveMetaStoreClient.java:93)
at 
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:747)
at 
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:735)
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:498)
at 
org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:154)
at com.sun.proxy.$Proxy20.createTable(Unknown Source)
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:498)
at 
org.apache.hadoop.hive.metastore.HiveMetaStoreClient$SynchronizedHandler.invoke(HiveMetaStoreClient.java:2265)
at com.sun.proxy.$Proxy20.createTable(Unknown Source)
at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:832)
... 26 more

Thanks,

Arjun



Re: Write access to wiki

2018-06-05 Thread Luis Figueroa
Awesome, thanks!

On Tue, Jun 5, 2018 at 3:04 PM Lefty Leverenz 
wrote:

> Done.  Welcome to the Hive wiki team, Luis!
>
> -- Lefty
>
>
> On Tue, Jun 5, 2018 at 9:39 AM Luis Figueroa  wrote:
>
>> Hi, may I be granted write access to the wiki? I'd like to help keeping
>> up with updates.
>>
>> My confluence user name is luisefigueroa
>>
>> Cheers,
>> Luis
>>
>>


Re: Write access to wiki

2018-06-05 Thread Lefty Leverenz
Done.  Welcome to the Hive wiki team, Luis!

-- Lefty


On Tue, Jun 5, 2018 at 9:39 AM Luis Figueroa  wrote:

> Hi, may I be granted write access to the wiki? I'd like to help keeping up
> with updates.
>
> My confluence user name is luisefigueroa
>
> Cheers,
> Luis
>
>


Re: Re: Edit wiki of hive permissions

2018-06-05 Thread Lefty Leverenz
You now have edit permissions on the wiki.  Welcome to the Hive wiki
team, Chuikai You!

-- Lefty


On Tue, Jun 5, 2018 at 2:24 AM yo...@jpush.cn  wrote:

> I'm sorry,The correct account is *youchuikai *
> Thank you.
> --
> yo...@jpush.cn
>
>
> *From:* Lefty Leverenz 
> *Date:* 2018-06-05 10:46
> *To:* youck 
> *CC:* user 
> *Subject:* Re: Edit wiki of hive permissions
> The permissions page doesn't recognize youchui...@163.com as a Confluence
> user.  Do you have a Confluence account?
>
> See About This Wiki -- How to get permission to edit
> 
> .
>
> -- Lefty
>
>
> On Sun, Jun 3, 2018 at 10:20 PM yo...@jpush.cn  wrote:
>
>> Lefty:
>> can you please provide edit permissions to youchui...@163.com for
>> the Hive wiki,I want do something for hive community.
>> Thank you.
>> --
>> yo...@jpush.cn
>>
>


Write access to wiki

2018-06-05 Thread Luis Figueroa
Hi, may I be granted write access to the wiki? I'd like to help keeping up
with updates.

My confluence user name is luisefigueroa

Cheers,
Luis


Re: Re: Edit wiki of hive permissions

2018-06-05 Thread yo...@jpush.cn
I'm sorry,The correct account is youchuikai 
Thank you.


yo...@jpush.cn
 
From: Lefty Leverenz
Date: 2018-06-05 10:46
To: youck
CC: user
Subject: Re: Edit wiki of hive permissions
The permissions page doesn't recognize youchui...@163.com as a Confluence user. 
 Do you have a Confluence account?

See About This Wiki -- How to get permission to edit.

-- Lefty


On Sun, Jun 3, 2018 at 10:20 PM yo...@jpush.cn  wrote:
Lefty:
can you please provide edit permissions to youchui...@163.com for the Hive 
wiki,I want do something for hive community.
Thank you.


yo...@jpush.cn