-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error ./prepare.sh: line 25: INPUT_HDFS: unbound variable #93
Comments
Hi hibench.hadoop.home /opt/cloudera/parcels/CDH/lib/hadoop My error message ~ |
Receiving the same error with hdp 2.2.0.0-2041 here, has anyone solved the problem by adjusting configurations or changing the code? |
yes. we will take a look at this. thanks for reporting that. -Grace -------- �������� -------- Receiving the same error here, has anyone solved the problem by adjusting configurations or changing the code? �� |
Seems like it failed to detect hadoop version. Besides, you can set
Note: The value of |
I try to set hibench.hadoop.version and hibench.hadoop.release in my 99-user_defined_properties.conf. ----My 99-user_defined_properties.conf---- hibench.spark.master yarn-client ====Run prepare.sh ==== |
Can you go to your folder It seems the init script can't find the |
I am running a test using spark 1.3 and hadoop 2.6 //My error msg is: Because there is an socket error, so I modify the "hibench.spark.master" in "99-user_defined_properties.conf" file as "http://hostname:4040". And the error didn't occur. I think the problem is that, you should make sure to export HADOOP_HOME and SPARK_HOME first. |
@TYoung1221 actually, this should not be right... As the assertion information suggests, you can set |
Anyone has a solution for this error, Hadoop homehibench.hadoop.home /opt/mapr/hadoop/hadoop-2.5.1/ Spark homehibench.spark.home /opt/mapr/spark/spark-1.2.1/ HDFS masterhibench.hdfs.master maprfs:/// And run the test case wordcount in mapreduce only, I still get error |
I've confirmed this is a bug and is related to #102 |
- Skip hostname probe mechanism if masters/slaves hostname is defined in custom user configuration.
- Skip hostname probe mechanism if masters/slaves hostname is defined in custom user configuration.
Hello, [phyo@rain29 terasort]$ ./prepare/prepare.sh STDERR: Please check! |
I am just like you @PtdThant .Hava you got any solutions?Thanks! |
Hello Mr Wang Shaui,
Nice to meet you!
Thank you very much for your kindness! I have finished that one. And I am
just a beginner trying to do research using Hadoop.
And if I have any problems, may I ask you later.
Sincerely,
Phyo
|
Nice to meet you too! |
The way this issue was solved for me was by exporting the JAVA_HOME and adding it into the PATH in the .bashrc for the hdfs user (I was running with HDFS user). |
Hi
I am trying to use HiBench 4.0 for some performance benchmarking of HDP Hadoop 2.6.0.2.2.4.2-2
I have set the following properties (I dont have spark, I just want to test mapreduce)
hibench.hadoop.home /usr/lib/hadoop
hibench.spark.home /PATH/TO/YOUR/SPARK/ROOT
hibench.hdfs.master hdfs://10.0.2.15:50070
But i get the following error:
Any idea why? What configuration am I missing? The README in HiBench 4.0 doesnt say about any other configurations.
root@sandbox prepare]# ./prepare.sh
Parsing conf: /root/HiBench/conf/00-default-properties.conf
Parsing conf: /root/HiBench/conf/10-data-scale-profile.conf
Parsing conf: /root/HiBench/conf/99-user_defined_properties.conf
Parsing conf: /root/HiBench/workloads/sort/conf/00-sort-default.conf
Parsing conf: /root/HiBench/workloads/sort/conf/10-sort-userdefine.conf
Traceback (most recent call last):
File "/root/HiBench/bin/functions/load-config.py", line 440, in
load_config(conf_root, workload_root, workload_folder)
File "/root/HiBench/bin/functions/load-config.py", line 154, in load_config
generate_optional_value()
File "/root/HiBench/bin/functions/load-config.py", line 209, in generate_optional_value
if hadoop_version[0] != '1': # hadoop2? or CDH's MR1?
IndexError: string index out of range
/root/HiBench/bin/functions/workload-functions.sh: line 33: .: filename argument required
.: usage: . filename [arguments]
start HadoopPrepareSort bench
./prepare.sh: line 25: INPUT_HDFS: unbound variable
The text was updated successfully, but these errors were encountered: