메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

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


use metadata;


select tbl.owner, tbl.tbl_name, tbl.tbl_type, sds.location, db.name, db.db_location_uri from DBS db, TBLS tbl, SDS sds

  where db.db_id=tbl.db_id and sds.sd_id=tbl.sd_id --and tbl.tbl_name like '%tb_test%';

    order by db.name, tbl.tbl_name;


* view table의 경우는 location 컬럼의 값이 없으니 참고 할것.


* tb_test table에 대한 예시

owner    tbl_name location                                                                       db_location_uri

gooper   tb_test    hdfs://nameservice1/user/hive/warehouse/gooper.db/tb_test    hdfs://nameservice1/user/hive/warehouse/gooper.db

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.

위로