Repository: accumulo Updated Branches: refs/heads/1.6.0-SNAPSHOT 4a77566a3 -> 4956b15a6
ACCUMULO-2601 remove initialization from rpm Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4956b15a Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4956b15a Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4956b15a Branch: refs/heads/1.6.0-SNAPSHOT Commit: 4956b15a6f86bca303074b907b2e62f783d395bf Parents: 4a77566 Author: Eric C. Newton <[email protected]> Authored: Tue Apr 1 11:45:28 2014 -0400 Committer: Eric C. Newton <[email protected]> Committed: Tue Apr 1 11:45:45 2014 -0400 ---------------------------------------------------------------------- init/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/4956b15a/init/pom.xml ---------------------------------------------------------------------- diff --git a/init/pom.xml b/init/pom.xml index 17a1ff8..c811fff 100644 --- a/init/pom.xml +++ b/init/pom.xml @@ -86,7 +86,7 @@ </mapping> </mappings> <postinstallScriptlet> - <script>su hdfs sh -c 'hadoop fs -mkdir /accumulo ; hadoop fs -chown accumulo /accumulo' ; su accumulo sh -c '%{_datadir}/accumulo/bin/accumulo init --instance-name instance --password secret'</script> + <script>su hdfs -c 'hadoop fs -mkdir /accumulo && hadoop fs -chown accumulo /accumulo'</script> </postinstallScriptlet> </configuration> </execution>
