Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1944

Unable to read data from recursive directories as table location

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Impala 2.1.1
    • None
    • None
    • None

    Description

      By default Impala reads the files from table LOCATION 'hdfs_path' but not from the sub directories in that table LOCATION 'hdfs_path'.

      Example: If a table is created with location '/home/data/input/'

      and if the directory structure is as follows:
      /home/data/input/a.txt
      /home/data/input/b.txt
      /home/data/input/subdir1/x.txt
      /home/data/input/subdir2/y.txt

      then Impala can query from following files only
      /home/data/input/a.txt
      /home/data/input/b.txt

      Following files are not queried
      /home/data/input/subdir1/x.txt
      /home/data/input/subdir2/y.txt

      It seems recursive reading is not working.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ivijay Vijay
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: