Sorry to bump this thread again. Got following error:
java.lang.UnsatisfiedLinkError: /tmp/snappy-1.0.4.1-libsnappyjava.so: /tmp/ snappy-1.0.4.1-libsnappyjava.so: failed to map segment from shared object: Operation not permited Based on the following post: http://mail-archives.apache.org/mod_mbox/cassandra-user/201312.mbox/%3c52c1dec4.2080...@cj.com%3E I need to set following option for Hive: JVM_OPTS="$JVM_OPTS -Dorg.xerial.snappy.tempdir=/path/that/allows/executables" Any tips how? Regards, Rex On Thu, Mar 24, 2016 at 9:10 PM, Rex X <dnsr...@gmail.com> wrote: > Nice! Problem solved! > > > > On Mon, Mar 21, 2016 at 8:19 AM, Tale Firefly <tale.h...@gmail.com> wrote: > >> Hey ! >> >> Are you talking about the hdfs /tmp or the local FS /tmp ? >> >> For the HDFS one, I think it should be the property : >> hive.exec.scratchdir >> >> For the local, I think it should be the property : >> hive.exec.local.scratchdir >> >> BR >> >> Tale >> >> On Sat, Mar 19, 2016 at 8:46 PM, Rex X <dnsr...@gmail.com> wrote: >> >>> The local /tmp is non-executive configured by admin. >>> >>> When we do a "select ...limit 10" query on Hive, it copied some file to >>> /tmp, and tried to execute it. But since the /tmp is non-executive, I >>> always bumped out of the Hive shell with some binding error. >>> >>> What is the setting to change this /tmp work folder to other directory? >>> >>> >>> >>> >> >