Github user rvs commented on a diff in the pull request: https://github.com/apache/bigtop/pull/193#discussion_r110058076 --- Diff: bigtop-tests/smoke-tests/odpi-runtime/src/test/groovy/org/odpi/specs/runtime/TestSpecsRuntime.groovy --- @@ -239,6 +239,34 @@ public class TestSpecsRuntime { } ) break + case 'hadoop_users': + Shell sh = new Shell() + def confDir = getEnv(arguments['confDir'], arguments['envcmd']) + + def dfsUser = sh.exec("sed -n '/dfs.cluster.administrator/ {n;p}' " + confDir + "/hdfs-site.xml | grep -oPm1 '(?<=<value>)[^<]+'").out + if (sh.getRet() == 0) { --- End diff -- Any reason not to use Hadoop Configuration here? https://hadoop.apache.org/docs/r2.7.3/api/org/apache/hadoop/conf/Configuration.html
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---