-1.

I tried the following and was unable to create any table with "STORED AS” clause

1) Created new metastore database using schemaTool. There are couple of issues 
with schema tool. Schema tool does not initialize the logger properly.
a) I don’t see log messages being written anywhere ($TMPDIR/hive.log is not 
created which is the default).
b) If the metastore database does not exists. Schema tool throws the following 
error which seems to be not relevant (I expected database does not exist or 
something similar)
    org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema 
version.
*** schemaTool failed ***
2) After resolving the metastore database issue, I ran the cli and created 
simple ORC table which threw the following exception
hive>  create table src_orc(k string, v int) stored as orc;
Exception in thread "b3a2d83b-bdc2-46f4-82c0-eb79d59590d9 
b3a2d83b-bdc2-46f4-82c0-eb79d59590d9 main" java.lang.AssertionError: Unknown 
token: [@-1,0:0='TOK_FILEFORMAT_GENERIC',<715>,0:-1]
at 
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeCreateTable(SemanticAnalyzer.java:10875)
at 
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genResolvedParseTree(SemanticAnalyzer.java:9989)
at 
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:10093)
at 
org.apache.hadoop.hive.ql.parse.CalcitePlanner.analyzeInternal(CalcitePlanner.java:229)
at 
org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:239)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:479)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:319)
at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1255)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1301)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1184)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1172)
at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:233)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:184)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:400)
at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:778)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:717)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:645)
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.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)

Created 2 blockers issues for the same
https://issues.apache.org/jira/browse/HIVE-13023
https://issues.apache.org/jira/browse/HIVE-13024

Thanks
Prasanth

On Feb 8, 2016, at 12:44 PM, Alan Gates 
<alanfga...@gmail.com<mailto:alanfga...@gmail.com>> wrote:

+1.  Signatures and licenses look good, build is good.

We should file a JIRA to resolve the docs for local install ASAP so people can 
use this out of the box.

Alan.

[cid:part1.01000209.00010002@gmail.com]
Sergey Shelukhin<mailto:ser...@hortonworks.com>
February 2, 2016 at 18:26
Apache Hive 2.0.0 Release Candidate 1 is available here:

http://people.apache.org/~sershe/hive-2.0.0-RC1/


Maven artifacts are at

https://repository.apache.org/content/repositories/orgapachehive-1043/


Source tag for RC1 (github mirror) is:
https://github.com/apache/hive/releases/tag/release-2.0.0-rc1
(https://github.com/apache/hive/commit/978bed2f21faf74b226c788eb144bee63267
993c)

Voting will conclude in 72 hours.

Hive PMC Members: Please test and vote.


Thanks.


Reply via email to