Git Product home page Git Product logo

cloudera-framework's People

Contributors

ggear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloudera-framework's Issues

Can't find hive-it-unit

Just wondering if there is a workaround here - couldn't find the project on hive to also build/install.

Downloading: https://repo1.maven.org/maven2/org/apache/hive/hive-it-unit/1.1.0-cdh5.5.1/hive-it-unit-1.1.0-cdh5.5.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] cloudera-framework ................................. SUCCESS [  0.831 s]
[INFO] cloudera-framework-repo ............................ SUCCESS [  0.020 s]
[INFO] cloudera-framework-repo-external ................... SUCCESS [  0.551 s]
[INFO] cloudera-framework-main ............................ SUCCESS [  0.065 s]
[INFO] cloudera-framework-main-client ..................... SUCCESS [  0.069 s]
[INFO] cloudera-framework-main-client-core ................ SUCCESS [  0.056 s]
[INFO] cloudera-framework-main-client-spark ............... SUCCESS [  0.066 s]
[INFO] cloudera-framework-main-client-avro ................ SUCCESS [  0.054 s]
[INFO] cloudera-framework-main-client-parquet ............. SUCCESS [  0.054 s]
[INFO] cloudera-framework-main-client-elephantbird ........ SUCCESS [  0.055 s]
[INFO] cloudera-framework-main-client-zookeeper ........... SUCCESS [  0.079 s]
[INFO] cloudera-framework-main-client-kafka ............... SUCCESS [  0.053 s]
[INFO] cloudera-framework-main-client-flume ............... SUCCESS [  0.058 s]
[INFO] cloudera-framework-main-runtime .................... SUCCESS [  0.063 s]
[INFO] cloudera-framework-main-test ....................... FAILURE [  6.609 s]
[INFO] cloudera-framework-main-common ..................... SKIPPED
[INFO] cloudera-framework-main-archetype .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.477 s
[INFO] Finished at: 2015-12-17T09:18:11+11:00
[INFO] Final Memory: 27M/315M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cloudera-framework-main-test: Could not resolve dependencies for project com.c
loudera.framework.main:cloudera-framework-main-test:jar:1.2.4-cdh5.5.1: Could not find artifact org.apache.hive:hive-it-
unit:jar:1.1.0-cdh5.5.1 in central (http://repo1.maven.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloudera-framework-main-test

bootstrap and build issues

Graham,
Faced a few issues while doing a bootstrap and build on a fresh centOS 7.4 machine. Impact is likely to all OSes.

  1. Manually install Java 8
  2. Manually install pip
  3. on the bootstrap.sh,
    * python -m nltk.downloader all
    * /usr/bin/python: No module named nltk
  I manually installed it
    * pip install nltk=3.2.3
    * cloudera-framework/cloudera-framework-parent/cloudera-framework-example/cloudera-framework-example-5/target/test-python/conda.yml has dependency on 3.2.3
  1. missing conda in bootstrap, so build failure:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (conda-create) on project cloudera-framework-example-5: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "conda" (in directory "/root/cloudera-framework/cloudera-framework-parent/cloudera-framework-example/cloudera-framework-example-5"): error=2, No such file or directory
[ERROR] around Ant part ...<exec failonerror="false" executable="conda">... @ 4:48 in /root/cloudera-framework/cloudera-framework-parent/cloudera-framework-example/cloudera-framework-example-5/target/antrun/build-main.xml
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (conda-create) on project cloudera-framework-example-5: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "conda" (in directory "/root/cloudera-framework/cloudera-framework-parent/cloudera-framework-example/cloudera-framework-example-5"): error=2, No such file or directory
around Ant part ...<exec failonerror="false" executable="conda">... @ 4:48 in /root/cloudera-framework/cloudera-framework-parent/cloudera-framework-example/cloudera-framework-example-5/target/antrun/build-main.xml

Will submit a patch by next week

Code compliance for generated project in Eclipse

After generating and building the example project, I imported it into eclipse. I found that I needed to add the following to the plugins to get the code compliance up (I built against JDK 1.8):

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.