metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Foley <mfo...@hortonworks.com>
Subject Re: Facing error whith mvn clean install
Date Fri, 28 Jul 2017 18:02:39 GMT
Well, Linux in general at least.  CentOS 7 is known to work fine.  Ubuntu has worked most of
the time; Ryan’s PR#669 today was to stabilize another bit of it.

On 7/28/17, 9:13 AM, "Laurens Vets" <laurens@daemon.be> wrote:

    I highly suspect the fact that you're trying to compile Metron on 
    Windows is the problem :) The only supported OS at the moment is CentOS 
    6 I believe.
    
    On 2017-07-27 19:07, bharath phatak wrote:
    > Hi Michael,
    > 
    > I was able pass on with the above issue.Its resolved. I am facing issue
    > with metron-config
    > 
    > [ERROR] 'cp' is not recognized as an internal or external command,
    > [ERROR] operable program or batch file.
    > [ERROR]
    > [ERROR] npm ERR! Windows_NT 10.0.10586
    > [ERROR] npm ERR! argv
    > "C:\\metron2\\metron\\metron-interface\\metron-config\\node\\node.exe"
    > "C:\\metron2\\metron\\metron-interface\\metron-config\\node_modules\\npm\\bin\\npm-cli.js
    > " "run" "copy-ace"
    > [ERROR] npm ERR! node v6.2.0
    > [ERROR] npm ERR! npm  v2.14.21
    > [ERROR] npm ERR! code ELIFECYCLE
    > [ERROR] npm ERR! metron-management-ui@0.4.1 copy-ace: `cp -f
    > $npm_package_config_node_ace/ext-language_tools.js
    > $npm_package_config_node_ace/mode-json.js $npm_package_config_node_ace
    > /theme-monokai.js $npm_package_config_node_ace/worker-json.js
    > src/assets/ace`
    > [ERROR] npm ERR! Exit status 1
    > [ERROR] npm ERR!
    > [ERROR] npm ERR! Failed at the metron-management-ui@0.4.1 copy-ace 
    > script
    > 'cp -f $npm_package_config_node_ace/ext-language_tools.js
    > $npm_package_config_node_ace/mode-json.js $npm_pac
    > kage_config_node_ace/theme-monokai.js
    > $npm_package_config_node_ace/worker-json.js src/assets/ace'.
    > [ERROR] npm ERR! This is most likely a problem with the
    > metron-management-ui package,
    > [ERROR] npm ERR! not with npm itself.
    > [ERROR] npm ERR! Tell the author that this fails on your system:
    > [ERROR] npm ERR!     cp -f
    > $npm_package_config_node_ace/ext-language_tools.js
    > $npm_package_config_node_ace/mode-json.js
    > $npm_package_config_node_ace/theme-monokai.js $npm_package_con
    > fig_node_ace/worker-json.js src/assets/ace
    > [ERROR] npm ERR! You can get information on how to open an issue for 
    > this
    > project with:
    > [ERROR] npm ERR!     npm bugs metron-management-ui
    > [ERROR] npm ERR! Or if that isn't available, you can get their info 
    > via:
    > [ERROR] npm ERR!
    > [ERROR] npm ERR!     npm owner ls metron-management-ui
    > [ERROR] npm ERR! There is likely additional logging output above.
    > [ERROR]
    > [ERROR] npm ERR! Please include the following file with any support 
    > request:
    > [ERROR] npm ERR!
    > C:\metron2\metron\metron-interface\metron-config\npm-debug.log
    > 
    > 
    > ##################################
    > ERROR] Failed to execute goal
    > com.github.eirslett:frontend-maven-plugin:1.3:npm (npm install) on 
    > project
    > metron-config: Failed to run task: 'npm install' failed. (error code 1) 
    > -> [
    > 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/MojoFailureException
    > [ERROR]
    > [ERROR] After correcting the problems, you can resume the build with 
    > the
    > command
    > [ERROR]   mvn <goals> -rf :metron-config
    > 
    > ########################################
    > 
    > I found some thing related to above issue.
    > https://issues.apache.org/jira/browse/METRON-914
    > 
    > Any resolution?
    > 
    > Thanks,
    > Bharath
    > 
    > On Fri, Jul 28, 2017 at 1:22 AM, Michael Miklavcic <
    > michael.miklavcic@gmail.com> wrote:
    > 
    >> Hi Bharath,
    >> 
    >> Thanks for the interest in Metron! Is this continuing to be a problem 
    >> for
    >> you? It looks like the maven repo hosting that jar may have been
    >> temporarily unavailable. I just tried the URL locally and it appears 
    >> to be
    >> working.
    >> 
    >> Downloaded ->
    >> http://packages.confluent.io/maven/io/confluent/kafka-avro-
    >> serializer/1.0/kafka-avro-serializer-1.0.jar
    >> 
    >> {13:49}~ ➭ jar tvf kafka-avro-serializer-1.0.jar
    >>      0 Tue Feb 24 19:49:38 MST 2015 META-INF/
    >>    131 Tue Feb 24 19:49:36 MST 2015 META-INF/MANIFEST.MF
    >>      0 Tue Feb 24 19:49:36 MST 2015 io/
    >>      0 Tue Feb 24 19:49:36 MST 2015 io/confluent/
    >>      0 Tue Feb 24 19:49:36 MST 2015 io/confluent/kafka/
    >>      0 Tue Feb 24 19:49:36 MST 2015 io/confluent/kafka/formatter/
    >>      0 Tue Feb 24 19:49:36 MST 2015 io/confluent/kafka/serializers/
    >>   4126 Tue Feb 24 19:49:36 MST 2015
    >> io/confluent/kafka/formatter/AvroMessageFormatter.class
    >>   6602 Tue Feb 24 19:49:36 MST 2015
    >> io/confluent/kafka/formatter/AvroMessageReader.class
    >>   3550 Tue Feb 24 19:49:36 MST 2015
    >> io/confluent/kafka/serializers/AbstractKafkaAvroDeserializer.class
    >>   3540 Tue Feb 24 19:49:36 MST 2015
    >> io/confluent/kafka/serializers/AbstractKafkaAvroSerDe.class
    >>   3388 Tue Feb 24 19:49:36 MST 2015
    >> io/confluent/kafka/serializers/AbstractKafkaAvroSerializer.class
    >>   1688 Tue Feb 24 19:49:36 MST 2015
    >> io/confluent/kafka/serializers/KafkaAvroDecoder.class
    >>   2240 Tue Feb 24 19:49:36 MST 2015
    >> io/confluent/kafka/serializers/KafkaAvroEncoder.class
    >>   2373 Tue Feb 24 19:49:36 MST 2015
    >> io/confluent/kafka/serializers/KafkaAvroSerializer.class
    >>      0 Tue Feb 24 19:49:38 MST 2015 META-INF/maven/
    >>      0 Tue Feb 24 19:49:38 MST 2015 META-INF/maven/io.confluent/
    >>      0 Tue Feb 24 19:49:38 MST 2015
    >> META-INF/maven/io.confluent/kafka-avro-serializer/
    >>   1445 Tue Feb 24 19:49:24 MST 2015
    >> META-INF/maven/io.confluent/kafka-avro-serializer/pom.xml
    >>    116 Tue Feb 24 19:49:38 MST 2015
    >> META-INF/maven/io.confluent/kafka-avro-serializer/pom.properties
    >> 
    >> Best,
    >> Michael Miklavcic
    >> 
    >> On Thu, Jul 27, 2017 at 10:47 AM, bharath phatak 
    >> <bharath.phatak@gmail.com
    >> >
    >> wrote:
    >> 
    >> > Hi All,
    >> >
    >> > I followed the instructions mentioned
    >> > https://cwiki.apache.org/confluence/display/METRON/Metron+Development+
    >> > Environment+Setup+Instructions
    >> >
    >> > clone git repository and opened the project in intelIj.
    >> >
    >> > While running "mvn -DskipTests clean install" , i am getting below error.
    >> >
    >> > [ERROR] Failed to execute goal on project metron-writer: Could not
    >> resolve
    >> > dependencies for project org.apache.metron:metron-writer:
    >> >
    >> > jar:0.4.1: The following artifacts could not be resolved:
    >> > io.confluent:kafka-avro-serializer:jar:1.0,
    >> io.confluent:kafka-schema-regi
    >> >
    >> > stry-client:jar:1.0: Could not transfer artifact
    >> > io.confluent:kafka-avro-serializer:jar:1.0
    >> > from/to confluent (http://packages.confl
    >> >
    >> > uent.io/maven): Failed to transfer file: http://packages.confluent.io/
    >> > maven/io/confluent/kafka-avro-serializer/1.0/kafka-avro-serial
    >> >
    >> > izer-1.0.jar. Return code is: 503 , ReasonPhrase:Service Unavailable. ->
    >> > [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 :metron-writer
    >> >
    >> >
    >> >
    >> > Please can some one help me resolving above issue.
    >> >
    >> >
    >> > Thanks,
    >> >
    >> > Bharath
    >> >
    >> 
    
    

Mime
View raw message