Syntax error when try to launch zeppelin, spark with python in ubuntu

ruth

I installed spark and zeppelin, and having trouble running zeppelin. Whenever I try to run shell script with this command sh zeppelin-daemon.sh start , I got this error.

sh zeppelin-daemon.sh start
zeppelin-daemon.sh: 26: zeppelin-daemon.sh: [[: not found
zeppelin-daemon.sh: 25: /home/i-06/PycharmProjects/zeppelin/bin/common.sh: 
[[: not found
zeppelin-daemon.sh: 31: /home/i-06/PycharmProjects/zeppelin/bin/common.sh: 
[[: not found
zeppelin-daemon.sh: 35: /home/i-06/PycharmProjects/zeppelin/bin/common.sh: 
[[: not found
zeppelin-daemon.sh: 39: /home/i-06/PycharmProjects/zeppelin/bin/common.sh: [[: not found
zeppelin-daemon.sh: 43: /home/i-06/PycharmProjects/zeppelin/bin/common.sh: [[: not found
zeppelin-daemon.sh: 51: /home/i-06/PycharmProjects/zeppelin/bin/common.sh: [[: not found
zeppelin-daemon.sh: 55: /home/i-06/PycharmProjects/zeppelin/bin/common.sh: 
ZEPPELIN_CLASSPATH+=:: not found
zeppelin-daemon.sh: 57: /home/i-06/PycharmProjects/zeppelin/bin/common.sh: 
Syntax error: "(" unexpected

when I install spark and zeppelin, I followed same step as this.

https://gist.github.com/pratos/b2e2937106980a867d0558cba46241b1

my node version is v4.2.6, mvn version is Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T01:41:47+09:00) Maven home: /usr/local/apache-maven-3.3.9 Java version: 1.8.0_144, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-91-generic", arch: "amd64", family: "unix"

Rick Moritz

Run the script directly, i.e. from the Zeppelin dir: bin/zeppelin-daemon.sh start

The she-bang line in the script will call the correct shell-interpreter.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

SQL syntax error when try insert into by python

try:/except: returns a syntax error in Python when trying to run module

Scala throws an exception when I try to launch it on ubuntu

Error with msp when try to Launch Peers with Fabric-ca

Python Selenium - Invalid syntax error with try except

Python try except finally invalid syntax error

Invalid Syntax error on try clause in Python

Syntax error near ARRAY when I try to execute a multiple update in python with psycopg2

try except syntax error

zeppelin with spark 1.5.2 standalone cluster error

Syntax Error when I try to create trigger in mysql

Java is Throwing Syntax Error When I Try to Execute an SQL Query

syntax Error in PostgreSQL when I try to create Trigger

Ruby syntax error when try to puts literal hash

I´m having the error #1241 in MySql when I try this syntax

CSS syntax error in CodeSandBox when i try to write code in a brakets

Is there a way to get rid of the syntax error when I run try and except?

I get a syntax error when I try to send a discord message

Python syntax error on windows ubuntu subsystem

Error when try to install pydot in Python

Error UnhandledPromiseRejectionWarning when I try to launch my Node.js app

Microsoft VS Code: When I try to launch my program error "spawn php ENOENT" shows up

Zeppelin Error When Running Pyspark Script

Apache Zeppelin Error When Importing Pandas

Hibernate exception when try to launch Tomcat

Syntax error when defining 2 functions in python

syntax error when using command line in python

syntax error when using command line in python

Python syntax error when using strings in variables