Comments (9)
Does not encounter this issue on my cluster, please check your hadoop settings, is there any privilege issues etc.
from hibench.
I fix it by change some code in the IOMapperBase.java
. And I am using the cdh4.2,,
I just move the code in the generate method IOMapperBase
to the configure
method , otherwise the job will not get the correct configuration of the hdfs . it workds for me.
from hibench.
Maybe you can send a pull request for this, so that we can take a look at the fix and potentially integrate it into the project? Thanks.
from hibench.
Hi,
We have been seeing the same issue with Hortonworks HDP 2 (at least since HDP 2.2). We really like dfsioe compared to standard Hadoop DFSIO, and I found some time to debug the issue. Tested a fix. Should I send a Pull request so that others who want to use dfsioe with HDP can benefit? Thanks.
from hibench.
I have sent a pull request ( #110 ) to fix the issue with using wrong FS resulting in errors like "Mkdirs failed to create" etc. Please take a look and merge so that people who run into this issue (e.g. using Hortonworks HDP 2) will benefit.
from hibench.
I'm still getting this error with the current master branch. Has it been merged in to master?
from hibench.
cc @carsonwang
from hibench.
The fix mentioned in this issue was included in the master branch. We also fixed another issue in DFSIOe #276 . Please check the command that submits the application and what is the value of test.build.data
.
from hibench.
I get the following error while running dfsioe:
17/05/16 16:30:11 INFO dfsioe.TestDFSIOEnh: creating control file: 1 mega bytes, 16 files
17/05/16 16:30:11 INFO dfsioe.DfsioeConfig: Found 'test.build.data' in System properties, value is 'hdfs://nameservice1:8020/HiBench/Dfsioe/Input'
17/05/16 16:30:11 INFO dfsioe.DfsioeConfig: Setting testRootDir to 'hdfs://nameservice1:8020/HiBench/Dfsioe/Input'
java.lang.IllegalArgumentException: Wrong FS: hdfs://nameservice1:8020/HiBench/Dfsioe/Input/io_control, expected: hdfs://nameservice1
at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:657)
at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:194)
at org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:106)
at org.apache.hadoop.hdfs.DistributedFileSystem$12.doCall(DistributedFileSystem.java:646)
at org.apache.hadoop.hdfs.DistributedFileSystem$12.doCall(DistributedFileSystem.java:642)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.delete(DistributedFileSystem.java:642)
at org.apache.hadoop.fs.dfsioe.TestDFSIOEnh.createControlFile(TestDFSIOEnh.java:640)
at org.apache.hadoop.fs.dfsioe.TestDFSIOEnh.run(TestDFSIOEnh.java:602)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.fs.dfsioe.TestDFSIOEnh.main(TestDFSIOEnh.java:628)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Here is the output on the console:
patching args=
Parsing conf: /var/lib/hadoop-hdfs/HiBench/conf/99-user_defined_properties.conf
Parsing conf: /var/lib/hadoop-hdfs/HiBench/conf/hadoop.conf
Parsing conf: /var/lib/hadoop-hdfs/HiBench/conf/hibench.conf
Parsing conf: /var/lib/hadoop-hdfs/HiBench/conf/spark.conf
Parsing conf: /var/lib/hadoop-hdfs/HiBench/conf/workloads/micro/dfsioe.conf
probe sleep jar: /opt/cloudera/parcels/CDH/lib/hadoop/../../jars/hadoop-mapreduce-client-jobclient-2.6.0-cdh5.8.0-tests.jar
start HadoopDfsioe-write bench
/var/lib/hadoop-hdfs/HiBench/bin/functions/workload_functions.sh: line 115: /dev/stderr: Permission denied
rm: `hdfs://nameservice1:8020/HiBench/Dfsioe/Output': No such file or directory
/var/lib/hadoop-hdfs/HiBench/bin/functions/workload_functions.sh: line 152: /dev/stderr: Permission denied
du: `hdfs://nameservice1:8020/HiBench/Dfsioe/Input': No such file or directory
Submit MapReduce Job: /opt/cloudera/parcels/CDH/lib/hadoop/bin/hadoop --config /opt/cloudera/parcels/CDH/lib/hadoop/etc/hadoop jar /var/lib/hadoop-hdfs/HiBench/autogen/target/autogen-6.1-SNAPSHOT-jar-with-dependencies.jar org.apache.hadoop.fs.dfsioe.TestDFSIOEnh -Dmapreduce.map.java.opts="-Dtest.build.data=hdfs://nameservice1:8020/HiBench/Dfsioe/Input -Djava.net.preferIPv4Stack=true" -Dmapreduce.reduce.java.opts="-Dtest.build.data=hdfs://nameservice1:8020/HiBench/Dfsioe/Input -Djava.net.preferIPv4Stack=true" -write -nrFiles 16 -fileSize 1 -bufferSize 4096 -plotInteval 1000 -sampleUnit m -sampleInteval 200 -sumThreshold 0.5 -tputReportTotal -Dtest.build.data=hdfs://nameservice1:8020/HiBench/Dfsioe/Input -resFile /var/lib/hadoop-hdfs/HiBench/report/dfsioe/hadoop/conf/../result_write.txt -tputFile /var/lib/hadoop-hdfs/HiBench/report/dfsioe/hadoop/conf/../throughput_write.csv
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
ERROR: Hadoop job /var/lib/hadoop-hdfs/HiBench/autogen/target/autogen-6.1-SNAPSHOT-jar-with-dependencies.jar org.apache.hadoop.fs.dfsioe.TestDFSIOEnh failed to run successfully.
Hint: You can goto /var/lib/hadoop-hdfs/HiBench/report/dfsioe/hadoop/conf/../bench.log to check for detailed log.
Opening log tail for you:
at org.apache.hadoop.fs.dfsioe.TestDFSIOEnh.run(TestDFSIOEnh.java:602)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.fs.dfsioe.TestDFSIOEnh.main(TestDFSIOEnh.java:628)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
This happens whether while running prepare, read, or run_all.sh.
from hibench.
Related Issues (20)
- Unable to run sparkbench on kerberized cluster with yarn client
- unable to build "org.apache.maven.wagon.authorization.AuthorizationException: Authentication failed for http://archive.cloudera.com/cdh5/cdh/5/mahout-0.9-cdh5.1.0.tar.gz 401 Authentication required" HOT 1
- Building error with one recent patch HOT 1
- HiBentch on HDP3.1.5
- help!
- can you add me pls
- I am facing the below mentioned issue while trying to execute the pagerank algorithm in hadoop from hibench. Please give a solution. HOT 1
- upgrade kafka version
- Hi
- HiveError:HiveException java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient HOT 1
- Does Hibench Suite work with spark version 3.2.1 ? HOT 1
- Hi
- Error when run sql test
- Does Hibench Suite support Hadoop version 3.x ? HOT 1
- i don't no what i do -_- HOT 2
- Could tasks submitted to Spark by Hibench be viewed in Spark's History Server?
- Issues with run-sparkbench on Google Cloud Platform (GCP)
- spark config value modification does not apply.
- for single node hadoop configuration
- Hi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hibench.