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

S3 creds added to a hidden list by HIVE-14588 are not working on MR jobs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • Hive
    • None

    Description

      When S3 credentials are included in hive-site.xml, then MR jobs that need to read
      data from S3 cannot use them because S3 values are stripped from the Job configuration
      object before submitting the MR job.

      @Override
      public void initialize(HiveConf conf, QueryPlan queryPlan, DriverContext driverContext) {
        ...
      
        conf.stripHiddenConfigurations(job);
        this.jobExecHelper = new HadoopJobExecHelper(job, console, this, this);
      }
      

      A nice to have (available on hadoop 2.9.0) is an MR mapreduce.job.redacted-properties that can be used to hide this list on the MR side (such as history server UI) to allow MR run the job without issues.

      UPDATE:
      Change the call to stripHiddenConfigurations() in ql/exec/tez/DagUtils.createConfiguration(), because this is currently broken for running hive-blobstore suite against Tez

      Attachments

        1. HIVE-14848.1.patch
          1 kB
          Prasanth Jayachandran
        2. HIVE-14848.1.patch
          1 kB
          Sergio Peña
        3. HIVE-14848.2.patch
          1.0 kB
          Jaume M
        4. HIVE-14848.3.patch
          1.0 kB
          Jaume M

        Issue Links

          Activity

            People

              jmarhuen Jaume M
              spena Sergio Peña
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: