Hot answers tagged

3

You can get beeline by installing Hive and Hadoop (Hadoop is a necessary dependency for Hive). First download Hadoop common from http://www.apache.org/dyn/closer.cgi/hadoop/common/ . Unpack and set the variable HADOOP_HOME to this location. Example: $ wget https://apache.uib.no/hadoop/common/hadoop-3.3.1/hadoop-3.3.1.tar.gz $ tar -xzvf hadoop-3.3.1.tar.gz $ ...


3

It is not necessary to install beeline/hive. All you have to do is collect the relevant jars from your system and copy them and place them in a single folder. Suppose, we have a source system where you have beeline and a target system where you want to run beeline. On the source system collect the relevant jars into one folder. The best way I have found to ...


1

I think Hive expect to find Derby database in current working directory. Hive will create the database, because create=true in javax.jdo.option.ConnectionURL property, but will not initialize schema in the database. My configuration: Ubuntu 18.04.1 LTS Hadoop 3.1.1 Hive 3.1.0 Apache Derby from Ubuntu repositories (Version: 10.14.1.0-1ubuntu1 currently) ...


1

The error is pretty clear, the file you're trying to run, /etc/hadoop-2.7.1/etc/hadoop is not an executable file, it is a directory. The error from bash is telling you that you can't execute a directory. There is probably a file inside the /etc/hadoop-2.7.1 directory that you need to run instead, probably /etc/hadoop-2.7.1/bin/hadoop. You could change your ...


Only top voted, non community-wiki answers of a minimum length are eligible