I am trying to install Zeppelin on windows 10, but getting errors while running the command - bash zeppelin-daemon.sh start. I have configured JAVA_HOME and SPARK_HOME manually by going to the properties of my_computer (not by cmd or shell commands), can that be the reason for the errors?
Below are the errors I am getting -
/cygdrive/c/Users/Harneet/zeppelin-0.6.0-bin-all/conf/zeppelin-env.sh line 18:
$'\r': command not found
/cygdrive/c/Users/Harneet/zeppelin-0.6.0-bin-all/conf/zeppelin-env.sh line 20:
': not a valid identifier
Please help?
Related
I'm trying to launch an ice cast server by running the icecast.xml file in my terminal on Mac, I get the following errors
/Users/me/Desktop/Streaming/icecast-2.4.4/conf/icecast_minimal.xml: line 2: syntax error near unexpected token `newline'
/Users/me/Desktop/Streaming/icecast-2.4.4/conf/icecast_minimal.xml: line 2: `<icecast>'
Do I need to install it in an etc location or can I run it from the same directory it is in. My conclusion is that I installed the file in an inappropriate location.
I downloaded and ran the Anaconda interactive installer Anaconda3-2020.02-Linux-x86_64.sh but it fails right after it asks for the installation path with this:
PREFIX=/home/msimenc/software/anaconda3
WARNING: md5sum mismatch of tar archive
expected: 826b70d8ad34b7d9230d4da350d1b598
got: a8697164e5fc3778465b66505a311356 -
Unpacking payload ...
/home/msimenc/software/anaconda3/conda.exe: line 1: https://www.anaconda.com/pycharm\n: No such file or directory
/home/msimenc/software/anaconda3/conda.exe: line 3: syntax error near unexpected token `fi'
/home/msimenc/software/anaconda3/conda.exe: line 3: `fi'
/home/msimenc/software/anaconda3/conda.exe: line 1: https://www.anaconda.com/pycharm\n: No such file or directory
/home/msimenc/software/anaconda3/conda.exe: line 3: syntax error near unexpected token `fi'
/home/msimenc/software/anaconda3/conda.exe: line 3: `fi'ls
Any ideas?
It turned out downloading the installer failed. Re-downloaded it and it works fine.
I tried to start hadoop, but it failed with nothing started. Following the console log.
Mac:sbin lqs2$ sh start-all.sh
/Users/lqs2/Library/hadoop-3.1.1/libexec/hadoop-functions.sh: line 398:
syntax error near unexpected token `<'
/Users/lqs2/Library/hadoop-3.1.1/libexec/hadoop-functions.sh: line 398:
`done < <(for text in "${input[#]}"; do'
/Users/lqs2/Library/hadoop-3.1.1/libexec/hadoop-config.sh: line 70:
hadoop_deprecate_envvar: command not found
/Users/lqs2/Library/hadoop-3.1.1/libexec/hadoop-config.sh: line 87:
hadoop_bootstrap: command not found
/Users/lqs2/Library/hadoop-3.1.1/libexec/hadoop-config.sh: line 104:
hadoop_parse_args: command not found
/Users/lqs2/Library/hadoop-3.1.1/libexec/hadoop-config.sh: line 105:
shift: : numeric argument required
WARNING: Attempting to start all Apache Hadoop daemons as lqs2 in 10
seconds.
WARNING: This is not a recommended production deployment configuration.
WARNING: Use CTRL-C to abort.
I have tried any ways to solve it but nothing woked. Even I reinstalled the latest version. But the error is the same. It almost drives me mad.
Any answer is helpful. Thanks.
Hadoop scripts require bash, not sh
$ chmod +x start-all.sh
$ ./start-all.sh
Though I would suggest starting HDFS and YARN separately so that you can isolate other issues
You also need to downgrade Hadoop to at least the latest 2.7 release for Spark to work
In my case, I was seeing this error in OSX after installing Hadoop using HomeBrew. The solution was to do a fresh install after downloading the Hadoop (3.2.1) binary directly from the official website. While installing, I had set HADOOP_HOME and JAVA_HOME environment variables.
A word of caution: I found that the issue can occur if the following environment variables are defined in hadoop-env.sh :
export HDFS_NAMENODE_USER="root"
export HDFS_DATANODE_USER="root"
export HDFS_SECONDARYNAMENODE_USER="root"
export YARN_RESOURCEMANAGER_USER="root"
export YARN_NODEMANAGER_USER="root"
I had initially added these variables while trying to fix the issue. Ultimately I removed them and the error disappeared.
Note, I executed all the Hadoop commands and scripts as non-root user, and also upgraded bash to version 5.0.17.
I'm trying to run usearch through Ubuntu Bash (on Windows 10)I'm having real trouble in assigning it to the right path. This is the error I keep getting:
/usr/bin/usearch10.0.240_i86linux32: 1: /usr/bin/usearch10.0.240_i86linux32: Syntax error: "(" unexpected
error, no response from your usearch command (usearch10.0.240_i86linux32)
is it installed and in path?
Has anyone else had this problem?
Thanks
Rachel
Please help me to setup magento via command line tool. Here are the errors:
Xpress#Xpress-PC /cygdrive/c/xampp/htdocs/magento2
$ ./mage mage-setup
Running initial setup...
./mage: line 50: exec: php: not found
./mage: line 50: exec: php: not found
./mage: line 50: exec: php: not found
The problem is that it cannot find the PHP command. This is most probably because of the missing path to your PHP directory. As you are using cygdrive on windows this is more probable. Try to add this line:
export PATH=$PATH:/cygdrive/c/xampp/php
in the bash.bashrc file (you can find it inside the folder where you installed cygwin. Should be here: C:\cygwin64\etc\bash.bashrc); this code will add the PHP (installed in: C:\xampp\php) to your path