*bump*

On Mon, Jun 29, 2015 at 2:36 PM, James Douglas <jdouglas@wikimedia.org> wrote:
// adding ottomata

Now I'm running into a problem with my system missing oozie:

==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns: Stack trace for the error was (for debug purposes):
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns: --------------------------------------
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns: ExitCodeException exitCode=2: gzip: /usr/lib/oozie/oozie-sharelib-yarn.tar.gz: No such file or directory
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns: tar: This does not look like a tar archive
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns: tar: Exiting with failure status due to previous errors
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns:
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns:      at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns:      at org.apache.hadoop.util.Shell.run(Shell.java:455)
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns:      at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715)
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns:      at org.apache.hadoop.fs.FileUtil.unTarUsingTar(FileUtil.java:675)
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns:      at org.apache.hadoop.fs.FileUtil.unTar(FileUtil.java:651)
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns:      at org.apache.oozie.tools.OozieSharelibCLI.run(OozieSharelibCLI.java:131)
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns:      at org.apache.oozie.tools.OozieSharelibCLI.main(OozieSharelibCLI.java:57)
==> default: Notice: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns: --------------------------------------
==> default: Error: /usr/bin/oozie-setup sharelib create -fs hdfs://mediawiki-vagrant.dev -locallib /usr/lib/oozie/oozie-sharelib-yarn.tar.gz returned 1 instead of one of [0]
==> default: Error: /Stage[main]/Cdh::Oozie::Server/Exec[oozie_sharelib_install]/returns: change from notrun to 0 failed: /usr/bin/oozie-setup sharelib create -fs hdfs://mediawiki-vagrant.dev -locallib /usr/lib/oozie/oozie-sharelib-yarn.tar.gz returned 1 instead of one of [0]


On Mon, Jun 29, 2015 at 11:03 AM, Nikolas Everett <neverett@wikimedia.org> wrote:
Ah!

So lots of roles use submodules in the mediawiki code - but what you mean is that the _vagrant_ code needs a submodule.

The "best" citizen thing to do would be to try to make the error message better. Something like "Could not find declared class ..... Try running git submodule update --init --recursive in the root of the vagrant checkout!" would have made this

On Mon, Jun 29, 2015 at 12:54 PM, Erik Bernhardson <ebernhardson@wikimedia.org> wrote:
replied on irc, but i'll add here too so others running into issue can fix:

The analytics role uses a couple submodules, init them in the vagrant repository with:

    git submodule update --init --recursive

On Mon, Jun 29, 2015 at 9:18 AM, James Douglas <jdouglas@wikimedia.org> wrote:
I'm having trouble enabling the analytics role on vagrant.  Does this mean anything to anyone?

==> default: Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class ::cdh::hadoop at
                     /vagrant/puppet/modules/role/
manifests/hadoop.pp:45 on node mediawiki-vagrant.dev

I even tried vagrant destroying, and starting from scratch.  It seems like maybe I need to apt-get install something Hadoop related, but my Google-fu isn't helping.

_______________________________________________
Wikimedia-search mailing list
Wikimedia-search@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimedia-search



_______________________________________________
Wikimedia-search mailing list
Wikimedia-search@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimedia-search



_______________________________________________
Wikimedia-search mailing list
Wikimedia-search@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimedia-search