메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


------Encryption Zone이 관련된 hdfs dfs 관련 작업(Ranger에서 관련 권한 설정은 되어 있다고 본다)

1. sqoop으로 Encryption Zone으로 바로 import하는 다음과 같은 오류가 발생한다. 이경우 sqoop import 구문에 "--temporary-rootdir"옵션으로 --target-dir(Encryption Zone내의 경로가 됨)에 지정한 위치와 동일한 위치를 주어 sqoop과정에서 생성되는 중간 데이터를 Encryption Zone내에 생성하게 하면 된다. 

  -  오류내용 : /user/hadoop/_sqoop/1234..../part-m-00000 can't be moved into an encryption zone.


2. hdfs dfs -mv /DATA/test/a.zip /DATA_ENC/test/a.zip와 같이 Encryption Zone밖의 데이터를 Encryption Zone으로 move할때 다음과 같은 오류가 발생한다. 

  - 오류내용 : mv: /tmp/a.zip can't be moved into an encryption zone.


3. hdfs dfs -mv /DATA_ENC/test/a.zip /DATA/test/a.zip와 같이 Encryption Zone의 데이터를 Encryption Zone밖으로 move할때 다음과 같은 오류가 발생한다. 

  - 오류내용 : mv: /DATA_ENC/test/a.zip can't be moved from an encryption zone.


4. Encryption Zone의 데이터를 Encryption Zone으로 move할때는 오류가 발생하지 않는다. 


5. Encryption Zone밖의 데이터를 Encryption Zone으로 mv할때는 오류가 발생하지만 cp할때는 오류가 발생하지 않는다. 


------Hue에서 impala table관련 작업(Ranger에서 관련 권한 설정은 되어 있다고 본다)

1. create table data_enc.aaa as select * from data.aaa;  <- Encryption Zone외부 테이블에서 Encryption Zone내부 테이블 생성 가능

2. insert into data_enc.aaa select * from data.aaa ;   <- Encryption Zone외부 테이블에서 Encryption Zone내부 테이블에 데이터 insert 가능 


번호 제목 날짜 조회 수
30 특정파일이 생성되어야 action이 실행되는 oozie job만들기(coordinator.xml) 2014.05.20 6733
29 sqoop작업시 hdfs의 개수보다 더많은 값이 중복되어 oracle에 입력되는 경우가 있음 2014.09.02 6936
28 Caused by: java.sql.SQLNonTransientConnectionException: Could not read resultset: unexpected end of stream, read 0 bytes from 4 오류시 확인/조치할 내용 2016.10.31 6944
27 [Kerberos]Kerberos상태의 클러스터에 JDBC로 접근할때 케이스별 오류내용 2020.02.14 7066
26 spark-sql실행시 Caused by: java.lang.NumberFormatException: For input string: "0s" 오류발생시 조치사항 2016.06.09 7350
25 oracle to hive data type정리표 2018.08.22 7379
24 LUBM 데이타 생성구문 2017.07.24 7513
23 [gson]mongodb의 api를 이용하여 데이타를 가져올때 "com.google.gson.stream.MalformedJsonException: Unterminated object at line..." 오류발생시 조치사항 2017.12.11 7584
22 하둡 분산 파일 시스템을 기반으로 색인하고 검색하기 2013.03.15 7636
21 Spark에서 Serializable관련 오류및 조치사항 2017.04.21 7743
20 Ubuntu 16.04LTS 설치후 초기에 주어야 하는 작업(php, apache, mariadb설치및 OS보안설정등) file 2017.05.23 7828
19 dr.who로 공격들어오는 경우 조치방법 file 2018.06.09 7850
18 spark-sql실행시 The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH오류 발생시 조치사항 2016.06.09 7899
17 jupyter, zeppelin, rstudio를 이용하여 spark cluster에 job를 실행시키기 위한 정보 2018.04.13 8056
16 HBase shell로 작업하기 2013.03.15 8337
15 Ubuntu 16.04 LTS에서 sendmail설치및 설정(수신,발신 가능)및 메일서버 만들기 2017.05.23 8527
14 .git폴더를 삭제하고 다시 git에 추가하고 서버에 반영하는 방법 2017.06.19 8649
13 cumulusRDF 1.0.1설치및 "KeyspaceCumulus" keyspace확인하기 file 2016.04.15 8731
12 hive 2.0.1 설치및 mariadb로 metastore 설정 2016.06.03 9113
11 insert hbase by hive ... error occured after 5 hours..HMaster가 뜨지 않는 장애에 대한 복구 방법 2014.04.29 9669
위로