error running HBaseTemperatureBulkImporter
fishercoder1534 opened this issue · comments
Hi Tom and other awesome contributors,
I'm running one of the examples provided in this book: HBaseTemperatureBulkImporter
But I keep running into this issue, stacktrace below:
What I have tried:
- I made sure I have permissions to this directory
- I started my local hadoop fs and created this directory as well.
Exception in thread "main" java.io.IOException: Mkdirs failed to create /user/stevesun/hbase-staging (exists=false, cwd=file:/Users/stevesun/personal_dev/HBaseMapReduceExample)
at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:440)
at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:426)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:906)
at org.apache.hadoop.io.SequenceFile$Writer.(SequenceFile.java:1071)
at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.(SequenceFile.java:1371)
at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:272)
at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:294)
at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.writePartitions(HFileOutputFormat2.java:335)
at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.configurePartitioner(HFileOutputFormat2.java:596)
at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.configureIncrementalLoad(HFileOutputFormat2.java:440)
at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.configureIncrementalLoad(HFileOutputFormat2.java:405)
at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.configureIncrementalLoad(HFileOutputFormat2.java:367)
at com.fishercoder.hFileIntoHBase.attempt3.HBaseTemperatureBulkImporter.run(HBaseTemperatureBulkImporter.java:117)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
Any help or pointers are greatly appreciated!