Nitiraj Singh Rathore created AMBARI-24165:
----------------------------------------------

             Summary: hive view : remove conflicting set statements while 
uploading the table
                 Key: AMBARI-24165
                 URL: https://issues.apache.org/jira/browse/AMBARI-24165
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 2.6.1
            Reporter: Nitiraj Singh Rathore
            Assignee: Nitiraj Singh Rathore
             Fix For: 2.6.2


The following 2 set statements can give error at run time since they are 
supposed to be only set through hive-site.xml file.

https://github.com/nitirajrathore/ambari/blob/4595bd2a239cbe4838c8eeb5410b161a3d8a7ee6/contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/internal/query/generators/InsertFromQueryGenerator.java#L51


    insertQuery.append("SET hive.support.concurrency=true;").append("\n");
    insertQuery.append("SET 
hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;").append("\n");




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to