Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24165

hive view : remove conflicting set statements while uploading the table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.6.2
    • Component/s: None

      Description

      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");

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nitiraj.rathore Nitiraj Singh Rathore
                Reporter:
                nitiraj.rathore Nitiraj Singh Rathore
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h