티스토리 뷰

공부

[HDFS] Export & Import

seunggabi 승가비 2020. 1. 18. 18:19
728x90

Hadoop

  • Export
    $ bin/hadoop jar <path/to/hbase-{version}.jar> export \
      <tablename> <outputdir> [<versions> [<starttime> [<endtime>]]

     

  • Import
    $ bin/hadoop jar <path/to/hbase-{version}.jar> import \
      <tablename> <inputdir>

Hbase

  • Export
    $ bin/hbase org.apache.hadoop.hbase.mapreduce.Export \
     <tablename> <outputdir> [<versions> [<starttime> [<endtime>]]]
  • Import
    $ bin/hbase org.apache.hadoop.hbase.mapreduce.Import \
      <tablename> <inputdir>

 

[출처] https://stackoverflow.com/questions/25909132/how-to-import-export-hbase-data-via-hdfs-hadoop-commands

728x90

'공부' 카테고리의 다른 글

[Oracle] Update & Delete by Join Table  (0) 2020.01.18
[Spring] @Async & @AOP  (0) 2020.01.18
[HDFS] Export & Import  (0) 2020.01.18
[Python] Filter dict  (0) 2020.01.18
[SQL] `!=` Doesn't include NULL  (0) 2020.01.18
[Hive] Alter Table Column Type  (0) 2020.01.18
댓글
댓글쓰기 폼