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

Cannot modify mapreduce.job.name at runtime when hive security authorization is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.14.0
    • None
    • Authorization, Beeline
    • centos 6.5
      ranger 0.4.0
      hive 0.14.0

    Description

      Cannot set mapreduce.job.name at runtime when hive security authorization is enabled !
      I use ranger and enabled hiveserver2 and hivecli security authorization.
      I use hivecli and I can set mapreduce.job.name property by 'set mapreduce.job.name=job1 ' .
      I use beeline and connect the security hiveserver2 , then I run 'set mapreduce.job.name=job1 ' but it is wrong , I get the exception like this :
      Error: Error while processing statement: Cannot modify mapreduce.job.name at runtime. It is not in list of params that are allowed to be modified at runtime (state=42000,code=1).

      so what`s wrong with it?

      Attachments

        Activity

          People

            bendan.0927@163.com gaojun
            bendan.0927@163.com gaojun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: