Hive cannot query carbondata

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Hive cannot query carbondata

tiany
   
Dear user:
       Version:
        CDH version 5.10.0 ,hive version 1.2.1(Manual upgrade version,Original version 1.1.0),spark-2.3.2-bin-2.6.0-cdh5.15.0 ,carbondata:apache-carbondata-1.5.2-bin-spark2.3.2-hadoop2.6.0-cdh5.15.0.jar
       See Annex:spark-defaults.conf carbon.properties
  Wrong description:
             Through the hive client login,
  table:select * from  ty_test.origin2,
  error: org.apache.hadoop.hive.ql.parse.SemanticException: 1:15 Input format must implement InputFormat. Error encountered near token 'origin2'
       Operation steps:
                1.Through the Spark thrif login.
                2.Execute SQL "CREATE TABLE origin2(name String, PhoneNumber String) STORED AS carbondata;" Prompt success  
                3.Through the hive client login,
                 4..Execute SQL "select * from ty_test.origin2",This error occurred : error: org.apache.hadoop.hive.ql.parse.SemanticException: 1:15 Input format must implement InputFormat. Error encountered near token 'origin2'
          Error Details files error.txt
 
2019-02-28

田游
电话:0755-26037910
传真:0755-26037912 邮编:518057
手机:13896099076  Email:
[hidden email]
. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it !
 

tl(03-01-09-14-21).jpg (21K) Download Attachment
t_bg(03-01-09-14-21).jpg (3K) Download Attachment
bg(03-01-09-14-21).jpg (5K) Download Attachment
d_bg(03-01-09-14-21).jpg (2K) Download Attachment
dr(03-01-09-14-21).jpg (12K) Download Attachment