title: CREATE TABLE command is not working in Hive query language
body: <p>When I try to create a table in hive getting the following error message. Any idea why this is happening?</p>
  
  <pre><code>hive&gt; create table a (x int);
  </code></pre>
  
  <blockquote>
    <p>FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)</p>
  </blockquote>
  
  <p>Following were the logs:</p>
  
  <pre><code> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate key name 'TBLS_FK2' at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA‌​ccessorImpl.java:45) 
  </code></pre>