You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/30 21:52:04 UTC
[jira] [Commented] (BIGTOP-2734) Enhancements to ODPi runtime
certification test suite
[ https://issues.apache.org/jira/browse/BIGTOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030196#comment-16030196 ]
ASF GitHub Bot commented on BIGTOP-2734:
----------------------------------------
Github user rajddesai commented on a diff in the pull request:
https://github.com/apache/bigtop/pull/193#discussion_r110236172
--- 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 --
No reason, I can change if you would like me to.
> Enhancements to ODPi runtime certification test suite
> -----------------------------------------------------
>
> Key: BIGTOP-2734
> URL: https://issues.apache.org/jira/browse/BIGTOP-2734
> Project: Bigtop
> Issue Type: Improvement
> Components: tests
> Affects Versions: 1.2.0
> Reporter: Raj Desai
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)