Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20146

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot validate serde: org.apache.hadoop.hive.serder2.OpenCSVSerde

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.2
    • None
    • Hive
    • None

    Description

      I am trying to create table in hive, but I am getting the following error

      //代码占位符
      
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot validate serde: org.apache.hadoop.hive.serder2.OpenCSVSerde
      

      the command that create the table :

      //代码占位符
      
      create table csv_tab(id string,name string) row format serde 'org.apache.hadoop.hive.serder2.OpenCSVSerde' with serdeproperties("separatorChar"="\t","quoteChar"="'","escapeChar"="\\") stored as TEXTFILE;
      
      

      hadoop version:2.6.0

      hive version:1.2.2

      please help me.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gavin_shi gavin_shi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: