[root@node1 conf]# su hdfs[hdfs@node1 conf]$ hdfs dfs -ls /Found 8 itemsdrwxrwxrwx - yarn hadoop 0 2016-11-24 19:33 /app-logsdrwxr-xr-x - hdfs hdfs 0 2016-11-24 18:45 /appsdrwxr-xr-x - yarn hdfs 0 2016-11-25 10:45 /cdapdrwxr-xr-x - hdfs hdfs 0 2016-11-24 16:50 /hdpdrwxr-xr-x - mapred hdfs 0 2016-11-24 16:50 /mapreddrwxrwxrwx - mapred hadoop 0 2016-11-24 16:50 /mr-historydrwxrwxrwx - hdfs hdfs 0 2016-11-25 15:42 /tmpdrwxr-xr-x - hdfs hdfs 0 2016-11-25 11:04 /user[hdfs@node1 conf]$ hdfs dfs -ls /cdapFound 1 itemsdrwxr-xr-x - yarn hdfs 0 2016-11-25 10:45 /cdap/tx.snapshot[hdfs@node1 conf]$ hdfs dfs -ls /user/Found 6 itemsdrwxrwx--- - ambari-qa hdfs 0 2016-11-24 18:46 /user/ambari-qadrwxr-xr-x - hcat hdfs 0 2016-11-24 18:45 /user/hcatdrwx------ - hdfs hdfs 0 2016-11-25 10:18 /user/hdfsdrwx------ - hive hdfs 0 2016-11-24 18:45 /user/hivedrwxrwxr-x - spark hdfs 0 2016-11-24 16:50 /user/sparkdrwxr-xr-x - yarn yarn 0 2016-11-25 14:03 /user/yarn[hdfs@node1 conf]$ hdfs dfs -ls /user/yarnFound 1 itemsdrwxr-xr-x - yarn yarn 0 2016-11-25 14:03 /user/yarn/.hiveJars
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
Copyright © 2014-2016 Cask Data, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
-->
<configuration>
<!-- General Configuration -->
<property>
<name>hdfs.namespace</name>
<value>/${root.namespace}</value>
<description>
Root directory for HDFS files written by CDAP
</description>
</property>
<property>
<name>hdfs.user</name>
<value>yarn</value>
<description>
User name for accessing HDFS
</description>
</property>
<property>
<name>root.namespace</name>
<value>cdap</value>
<description>
Root for this CDAP instance; used as the parent (or root) node for
ZooKeeper, as the directory under which all CDAP data and metadata is
stored in HDFS, and as the prefix for all HBase tables created by
CDAP; must be composed of alphanumeric characters
</description>
</property>
<property>
<name>zookeeper.quorum</name>
<value>10.32.180.40:2181,10.32.180.43:2181,10.32.180.46:2181/${root.namespace}</value>
<description>
ZooKeeper quorum string; specifies the ZooKeeper host:port; substitute the quorum
(FQDN1:2181,FQDN2:2181,...) for the components shown here
</description>
</property>
<!-- Applications Configuration -->
<property>
<name>app.bind.address</name>
<value>0.0.0.0</value>
<description>
App Fabric service bind address
</description>
</property>
<!-- Datasets Configuration -->
<property>
<name>data.tx.bind.address</name>
<value>0.0.0.0</value>
<description>
Transaction service bind address
</description>
</property>
<!-- Kafka Server Configuration -->
<property>
<name>kafka.default.replication.factor</name>
<value>1</value>
<description>
CDAP Kafka replication factor; used to replicate Kafka messages across
multiple machines to prevent data loss in the event of a hardware
failure. The recommended setting is to run at least two CDAP Kafka servers.
If you are running two Kafka servers, set this value to 2; otherwise,
set it to the number of Kafka servers.
</description>
</property>
<property>
<name>kafka.log.dir</name>
<value>/tmp/kafka-logs</value>
<description>
CDAP Kafka service log storage directory
</description>
</property>
<!-- <property>
<name>kafka.seed.brokers</name>
<value>FQDN1:9092,FQDN2:9092</value>
<description>
Comma-separated list of CDAP Kafka service brokers; for distributed CDAP,
replace with list of FQDN:port brokers
</description>
</property> -->
<!-- Metrics Configuration -->
<property>
<name>metrics.query.bind.address</name>
<value>0.0.0.0</value>
<description>
Metrics Query service bind address
</description>
</property>
<!-- Router Configuration -->
<property>
<name>router.bind.address</name>
<value>0.0.0.0</value>
<description>
CDAP Router service bind address
</description>
</property>
<property>
<name>router.bind.port</name>
<value>11111</value>
<description>
CDAP Router service bind port
</description>
</property>
<property>
<name>router.server.address</name>
<value>{ROUTER-HOST-IP}</value>
<description>
CDAP Router service address to which CDAP UI connects
</description>
</property>
<property>
<name>router.server.port</name>
<value>${router.bind.port}</value>
<description>
CDAP Router service port to which CDAP UI connects
</description>
</property>
<!-- UI Configuration -->
<property>
<name>dashboard.bind.port</name>
<value>9999</value>
<description>
CDAP UI bind port
</description>
</property>
</configuration>
Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.security.AccessControlException: Permission denied: user=cdap, access=WRITE, inode="/user/cdap":hdfs:hdfs:drwxr-xr-x at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:319) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:292) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:213) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:190) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkPermission(FSDirectory.java:1771) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkPermission(FSDirectory.java:1755) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkAncestorAccess(FSDirectory.java:1738) at org.apache.hadoop.hdfs.server.namenode.FSDirMkdirOp.mkdirs(FSDirMkdirOp.java:71) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:3905) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:1048) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:622) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:969) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2151) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2147) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2145)
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:507) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:680) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:624) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.util.RunJar.run(RunJar.java:221) at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
--
You received this message because you are subscribed to the Google Groups "CDAP User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+...@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/eee3a2bf-73b6-46c2-b1a0-e080eaf75dee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<master-cdap-node2.hde.h3c.com.log>
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/89f6a0ad-b259-486f-8f28-a1929ad12cad%40googlegroups.com.
<master-cdap-node1.hde.h3c.com.log>
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+unsubscribe@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/8b922998-46a7-472b-b31f-cf6b16a31d2b%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+...@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.