Skip to content

Cannot modify mapred.child.env at runtime, persists after modifying the hive-site.xml file #99

@jingjingyangg

Description

@jingjingyangg

I am trying to use RHive package to connect to Hive on Hortonworks Data Platform 2.4. When I execute:

rhive.connect(host="192.168.56.101",port=10000, hiveServer2=TRUE)

I received the following error message:

Cannot modify mapred.child.env at runtime. It is not in list of params that are allowed to be modified at runtime.

I inserted the following property and value in the hive-site.xml file, as suggested by some other posts:

hive.security.authorization.sqlstd.confwhitelist.append mapred.child.env

But i am still getting the same error. Any suggestion? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions