title: Cloudera Hive: Where to add json-serde-1.3.7 jar file
body: <p>I am using cloudera 5.8.0 </p>
  
  <p>First I run this command:</p>
  
  <pre><code>hive&gt; ADD JAR /usr/lib/hive/lib/hive-serdes-1.0-SNAPSHOT.jar;
  Added [/usr/lib/hive/lib/hive-serdes-1.0-SNAPSHOT.jar] to class path
  Added resources: [/usr/lib/hive/lib/hive-serdes-1.0-SNAPSHOT.jar]
  </code></pre>
  
  <p>And than I add the json-serde-1.3.7 jar file </p>
  
  <pre><code>hive&gt; ADD JAR /usr/lib/hive/lib/json-serde-1.3.7-jar-with- dependencies.jar;
  Added [/usr/lib/hive/lib/json-serde-1.3.7-jar-with-dependencies.jar] to class path
  Added resources: [/usr/lib/hive/lib/json-serde-1.3.7-jar-with-dependencies.jar]
  </code></pre>
  
  <p>But when I try to create this table in hive:</p>
  
  <pre><code>CREATE EXTERNAL TABLE tweets (    
      id BIGINT,
      created_at STRING,
      source STRING,
      favorited BOOLEAN,
      retweet_count INT,
      retweeted_status STRUCT&lt;
      text:STRING,
      `user`:STRUCT&lt;screen_name:STRING,name:STRING&gt;&gt;,
      entities STRUCT&lt;
      urls:ARRAY&lt;STRUCT&lt;expanded_url:STRING&gt;&gt;,
      user_mentions:ARRAY&lt;STRUCT&lt;screen_name:STRING,name:STRING&gt;&gt;,
      hashtags:ARRAY&lt;STRUCT&lt;text:STRING&gt;&gt;&gt;,
      text STRING,
      `user` STRUCT&lt;
      screen_name:STRING,
      name:STRING,
      friends_count:INT,
      followers_count:INT,
      statuses_count:INT,
      verified:BOOLEAN,
      utc_offset:INT,
      time_zone:STRING&gt;,
      in_reply_to_screen_name STRING
  )
  ROW FORMAT SERDE 'com.cloudera.hive.SERDE.JSONSerDe'
  LOCATION '/user/cloudera/flume/tweets'
  </code></pre>
  
  <p>I get this error:</p>
  
  <p><code>Error while processing statement: FAILED: Execution Error, return code 1 
  from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot validate serde: 
  com.cloudera.hive.SERDE.JSONSerDe</code></p>