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

Insert into Local Directory fails if partition exists without directory

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database/Schema
    • Labels:
      None
    • Environment:

      Development

      Description

      Insert Into local Directory fails if partition directory doesnot exist.
      Command

      Insert into Local Directory '/abc' select * from abc;

      Above command fails but when i query the table like "select * from abc", it runs fine with no error.
      Logs below :

      Vertex failed, vertexName=Map 1, vertexId=vertex_1446903211205_3914_3_00, diagnostics=[Vertex vertex_1446903211205_3914_3_00 [Map 1] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: claim initializer failed, vertex=vertex_1446903211205_3914_3_00 [Map 1], org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://abc/

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rahulgulati89 rahul gulati
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:

                Time Tracking

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