Support Questions
Find answers, ask questions, and share your expertise

How can I upload a file to the distributed cache, and read it from the distributed cache without using the add command?

How can I upload a file to the distributed cache, and read it from the distributed cache without using the add command?

New Contributor

Our Hiveserver2 environment forbids users to use the "add" command for security purposes.

For performance, I would like to upload a list file containing aggregated data to, and read it from the distributed cache.

However, I don't know of any way to upload the list file to, and read it from the distributed cache without using the add command.

There is any way to do this, please let me know.

It's also okay to use Hive UDF.

Thanks in advance

  • OS : CentOS7
  • JDK : 1.8.0_66(Oracle)
  • HDP : 2.3.4
  • Hive : 1.2.1
Don't have an account?