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

Recent patch prevents Hadoop confs from loading in 0.20.204

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.8.0
    • Configuration
    • None
    • Reviewed

    Description

      After the application of HIVE-2362, we're unable to run queries against the Hive cluster (RC2 and 3):

      java.io.IOException: Failed to set permissions of path: /user/jhoman-667872320/.staging to 0700
              at org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:680)
              at org.apache.hadoop.fs.FileUtil.setPermission(FileUtil.java:653)
              at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:483)
              at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:318)
              at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:183)
              at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:116)

      this is due to all the hadoop confs not being loaded and the LocalJobRunner (which builds staging directories in this manner) being used instead of the regular one. It's also not possible to access the hdfs since no default fs is specified.

      Reverting 2362 fixes this, but I've not yet looked at that patch to see the exact cause.

      Attachments

        1. HIVE-2643.D759.2.patch
          114 kB
          Carl Steinbach
        2. HIVE-2643.1.patch.txt
          6 kB
          Carl Steinbach
        3. ASF.LICENSE.NOT.GRANTED--HIVE-2643.D789.1.patch
          2 kB
          Phabricator
        4. ASF.LICENSE.NOT.GRANTED--HIVE-2643.D765.2.patch
          20 kB
          Phabricator
        5. ASF.LICENSE.NOT.GRANTED--HIVE-2643.D765.1.patch
          20 kB
          Phabricator
        6. ASF.LICENSE.NOT.GRANTED--HIVE-2643.D759.2.patch
          20 kB
          Phabricator
        7. ASF.LICENSE.NOT.GRANTED--HIVE-2643.D759.1.patch
          20 kB
          Phabricator
        8. ASF.LICENSE.NOT.GRANTED--HIVE-2643.D753.1.patch
          0.6 kB
          Phabricator
        9. ASF.LICENSE.NOT.GRANTED--HIVE-2643.D747.1.patch
          6 kB
          Phabricator

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cwsteinbach Carl Steinbach Assign to me
            jghoman Jakob Homan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment