Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

error running HBaseTemperatureBulkImporter #31

Open
fishercoder1534 opened this issue Jun 2, 2017 · 0 comments
Open

error running HBaseTemperatureBulkImporter #31

fishercoder1534 opened this issue Jun 2, 2017 · 0 comments

Comments

@fishercoder1534
Copy link

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:

  1. I made sure I have permissions to this directory
  2. 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!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant