Loïc C. Chanel created HIVE-17299:

             Summary: Cannot validate SerDe even if it is in Hadoop classpath
                 Key: HIVE-17299
                 URL: https://issues.apache.org/jira/browse/HIVE-17299
             Project: Hive
          Issue Type: Bug
          Components: HiveServer2
    Affects Versions: 1.2.1
         Environment: HADOOP_CLASSPATH : 

2017-08-10 15:26:38,924 INFO  [main]: zookeeper.ZooKeeper 
(Environment.java:logEnv(100)) - Client 
            Reporter: Loïc C. Chanel

Even if SerDe classes are in the classpath, all I can meet is the following 
error :
0: jdbc:hive2://<Thrift_Server>:10015> CREATE EXTERNAL TABLE project.test_ext ( 
DocVersion string, DriverID string ) ROW FORMAT SERDE 
'org.apache.hive.hcatalog.data.JsonSerDe' WITH SERDEPROPERTIES 
('ignore.malformed.json' = 'true') LOCATION '/user/project';
Error: org.apache.spark.sql.execution.QueryExecutionException: FAILED: 
Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. 
Cannot validate serde: org.apache.hive.hcatalog.data.JsonSerDe (state=,code=0)

This message was sent by Atlassian JIRA

Reply via email to