일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- Linux
- 리눅스
- DBMS
- MariaDB
- PostgreSQL
- 오블완
- Javascript
- SQL
- cursorai
- error
- analytics4
- pandas
- git
- github
- 자바
- mssql
- IntelliJ
- docker
- zset
- codeium
- java
- iBatis
- spring
- 명령어
- 티스토리챌린지
- 쉘스크립트
- mysql
- oracle
- Python
- Kibana
- Today
- Total
목록전체 글 (444)
hanker
admin.disableTable("테이블 명"); admin.deleteTable("테이블 명");
void rename(Admin admin, String oldTableName, TableName newTableName) { String snapshotName = randomName(); admin.disableTable("기존 테이블 명"); admin.snapshot("TMP 테이블 명", "기존 테이블 명"); admin.cloneSnapshot("TMP 테이블 명", "변경 할 테이블 명"); admin.deleteSnapshot("TMP 테이블 명"); admin.deleteTable("기존 테이블 명"); } - rename 기능이 없기 때문에 파일명 변경 후 복제 → 원본 데이터 명 삭제 참고 : https://hbase.apache.org/book.html#table.rename
hbase 서버 접속 명령어 - hbase shell hbase 서비스 중지 - stop-hbase.sh - stop-all.sh hbase 서비스 시작 - start-hbase.sh - start-all.sh hbase 클러스터 일관성 점검 - hbase hbck hbase 목록 hbase shell> list hbase 데이터 삭제 hbase shell> disable '데이터명' hbase shell> drop '데이터명' hbase 데이터이름 변경 hbase shell> disable 'tableName' hbase shell> snapshot 'tableName', 'tableSnapshot' hbase shell> clone_snapshot 'tableSnapshot', 'newTableNam..