메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


Hue에 hdfs로 로그인하여 Files에서 다음의 파일에 접근 할 때 복호화 권한이 없는 경우 다음과 같은 오류가 발생한다. 
조치 방밥으로는 hdfs계정이 관리자 계정이라면 모든 key에 대해서 DECRYPT_EEK권한을 부여해준다.(Hue에 keyadmin으로 로그인하여 cm_kms정책에 적용해준다. )

* 오류내용
Cannot access: /DATA_ENC/AAA/test_enc_table/ae412c32f88e062d-0827555100000000_1865862802_data.0.txt.
500 Server Error: Internal Server Error for url: http://node01.gooper.com:14000/webhdfs/v1/DATA_ENC/AAA/test_enc_table/ae412c32f88e062d-0827555100000000_1865862802_data.0.txt?length=3&op=OPEN&user.name=hue&offset=0&doas=hdfs {"RemoteException":{"message":"User:hdfs not allowed to do 'DECRYPT_EEK' on 'enc_key'","exception":"AuthorizationException","javaClassName":"org.apache.hadoop.security.authorize.AuthorizationException"}} (error 500)

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로