Yuming Wang created HIVE-15794:
----------------------------------

             Summary: Support get hdfsEncryptionShim if FileSystem is 
ViewFileSystem
                 Key: HIVE-15794
                 URL: https://issues.apache.org/jira/browse/HIVE-15794
             Project: Hive
          Issue Type: Improvement
          Components: Query Processor
    Affects Versions: 1.1.0, 1.2.0, 2.2.0
            Reporter: Yuming Wang
            Assignee: Yuming Wang


*SQL*:
{code:sql}
hive> create table table2 as select * from table1;

hive> show create table table2;
OK
CREATE TABLE `table2`(
  `id` string)
ROW FORMAT SERDE 
  'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' 
STORED AS INPUTFORMAT 
  'org.apache.hadoop.mapred.TextInputFormat' 
OUTPUTFORMAT 
  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION
  'viewfs://cluster4/user/hive/warehouse/table2'
TBLPROPERTIES (
  'transient_lastDdlTime'='1486050317')

{code}

*LOG*:
{noformat}
2017-02-02T20:12:49,738  INFO [99374b82-e9ca-4654-b803-93b194b9331b main] 
session.SessionState: Could not get hdfsEncryptionShim, it is only applicable 
to hdfs filesystem.
2017-02-02T20:12:49,738  INFO [99374b82-e9ca-4654-b803-93b194b9331b main] 
session.SessionState: Could not get hdfsEncryptionShim, it is only applicable 
to hdfs filesystem.
{noformat}

Can’t get hdfsEncryptionShim if {{FileSystem}} is 
[ViewFileSystem|http://hadoop.apache.org/docs/r2.6.5/hadoop-project-dist/hadoop-hdfs/ViewFs.html],
 we should support it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to