简体   繁体   中英

HBase data export to S3

I am trying to export HBase table(size-23TB) data to S3.
So while using HBase export and passing S3 credentials via jceks path Command:

hbase org.apache.hadoop.hbase.mapreduce.Export $tableName -D hadoop.security.provider.path=jceksPath -Dfs.s3a.proxy.host=proxy details -Dfs.s3a.proxy.port=80 $s3Path

Exception: NumberFormatException.

Please someone let me know how to pass jceks path in HBase export.

The error happens because the -D properties should be passed before the actual arguments:

hbase org.apache.hadoop.hbase.mapreduce.Export -D hadoop.security.provider.path=jceksPath -D fs.s3a.proxy.host=proxy details -D fs.s3a.proxy.port=80 $tableName $s3Path

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM