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

HS2 runAsync=False does not update resourced added with ADD FILE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • HiveServer2
    • None

    Description

      cf. https://issues.cloudera.org/browse/HUE-2694

      2) If I use the Hive editor in Hue (i.e. beeswax) and put the ADD FILE statements there, it works as expected.
      3) If I use the Hive editor in Hue (i.e. beeswax) but add the file using "File Resources" on the "Settings" tab, then I get the incorrect behavior – specifically, the files are not updated on each consecutive query execution.

      As a Setting, cf. #3

      ExecuteStatement(args=(TExecuteStatementReq(confOverlay={}, sessionHandle=TSessionHandle(sessionId=THandleIdentifier(secret='\xbeS\x9bS\xa4\xa7F\x87\xb0\x1c\xf9\xf7\x91 5-', guid=']\xa2\x04\x0e\x8c\x8bF\x06\xa1a\x02C\x18\x03\x87k')), runAsync=False, statement='ADD FILE hdfs://localhost:8020/my_file'),), kwargs={})
      

      In the editor, cf. #2:

      ExecuteStatement(args=(TExecuteStatementReq(confOverlay={}, sessionHandle=TSessionHandle(sessionId=THandleIdentifier(secret='\xbeS\x9bS\xa4\xa7F\x87\xb0\x1c\xf9\xf7\x91 5-', guid=']\xa2\x04\x0e\x8c\x8bF\x06\xa1a\x02C\x18\x03\x87k')), runAsync=True, statement='ADD FILE hdfs://localhost:8020/my_file'),), kwargs={})
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            romainr Romain Rigaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: