Giter VIP home page Giter VIP logo

riot-bench's People

Contributors

anshuiisc avatar chaturvedishilpa avatar simmhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

riot-bench's Issues

ArrayIndexOutOfBoundsException error in CsvToSenMLParse Line 100

Hi,
There is a logical error in the code that cause ArrayIndexOutOfBoundsException error.
In the Line 100 of "CsvToSenMLParse" you are trying to set the basetime by doing:
finalSenML.put("bt", val[timestampField]);
where the val is a string array which only has a single element.
Because you do
m = (String) map.get("D");
String[] val = m.split(",");
The map that you pass to the "doTaskLogic" method from "CsvToSenMLParseBolt" only contains one pair of key and value!!
map.put(AbstractTask.DEFAULT_KEY, (String)input.getValueByField("OBSVAL"));

Could you please advice ?

Build fail

MVN version: 3.0.5

build log

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for in.dream_lab.bm.stream_iot:iot-bm-tasks:jar:0.1
[WARNING] 'profiles.profile[release].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-assembly-plugin @ in.dream_lab.bm.stream_iot:iot-bm:0.1, /home/vagrant/tool/riot-bench/pom.xml, line 71, column 29
[WARNING]
[WARNING] Some problems were encountered while building the effective model for in.dream_lab.bm.stream_iot:iot-bm:pom:0.1
[WARNING] 'profiles.profile[release].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-assembly-plugin @ line 71, column 29
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] IoT-BM
[INFO] IoT-BM-TASKS
[INFO] IoT-BM-STORM
[INFO] IoT-BM-DISTRO
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building IoT-BM 0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building IoT-BM-TASKS 0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ iot-bm-tasks ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 57 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ iot-bm-tasks ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ iot-bm-tasks ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 57 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ iot-bm-tasks ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ iot-bm-tasks ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/vagrant/tool/riot-bench/modules/tasks/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ iot-bm-tasks ---
[INFO] Compiling 7 source files to /home/vagrant/tool/riot-bench/modules/tasks/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ iot-bm-tasks ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ iot-bm-tasks ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building IoT-BM-STORM 0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ iot-bm-storm ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/vagrant/tool/riot-bench/modules/storm/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ iot-bm-storm ---
[INFO] Compiling 3 source files to /home/vagrant/tool/riot-bench/modules/storm/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/vagrant/tool/riot-bench/modules/storm/src/main/java/in/dream_lab/bm/stream_iot/storm/topo/apps/StatsWithVisualizationTopology.java:[133,20] error: cannot find symbol
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] IoT-BM ............................................ SUCCESS [0.001s]
[INFO] IoT-BM-TASKS ...................................... SUCCESS [3.983s]
[INFO] IoT-BM-STORM ...................................... FAILURE [3.495s]
[INFO] IoT-BM-DISTRO ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.665s
[INFO] Finished at: Wed Dec 13 22:11:10 UTC 2017
[INFO] Final Memory: 9M/216M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project iot-bm-storm: Compilation failure
[ERROR] /home/vagrant/tool/riot-bench/modules/storm/src/main/java/in/dream_lab/bm/stream_iot/storm/topo/apps/StatsWithVisualizationTopology.java:[133,20] error: cannot find symbol
[ERROR] -> [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 -rf :iot-bm-storm

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.