Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the tutorial compilation issue #118

Open
cuiwei-github opened this issue Mar 4, 2020 · 5 comments
Open

the tutorial compilation issue #118

cuiwei-github opened this issue Mar 4, 2020 · 5 comments

Comments

@cuiwei-github
Copy link

Hi, I git cloned datacollector 1.2.2.0, datacollector-api 1.2.2.0, can you tell me which version of datacollector-plugin-api I should get? it has no 1.2.2.0.

While compiling the datacollector: mvn clean install -DskipTests, the container failed. the log:

[INFO] Building StreamSets Data Collector Container 1.2.2.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ streamsets-datacollector-container ---
[INFO] Deleting C:\Users\g706872\git\datacollector\container\target
[INFO]
[INFO] --- hadoop-maven-plugins:2.5.0:version-info (version-info) @ streamsets-datacollector-container ---
[WARNING] [svn, info] failed with error code 1
[INFO] SCM: GIT
[INFO] Computed MD5: 62ac5d1ee141cfb7921c48f46b28db
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ streamsets-datacollector-container ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ streamsets-datacollector-container ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 364 source files to C:\Users\g706872\git\datacollector\container\target\classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/memory/MultipleMonitorLocker.java:[24,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/memory/MultipleMonitorLocker.java:[24,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/memory/MultipleMonitorLocker.java:[24,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/memory/MultipleMonitorLocker.java:[24,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/memory/MultipleMonitorLocker.java:[33,24] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/memory/MultipleMonitorLocker.java:[35,5] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/memory/MultipleMonitorLocker.java:[37,27] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/memory/MultipleMonitorLocker.java:[39,17] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/execution/runner/cluster/ClusterRunner.java: Some input files use or override a deprecated API.
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/execution/runner/cluster/ClusterRunner.java: Recompile with -Xlint:deprecation for details.
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/config/StageDefinition.java: Some input files use unchecked or unsafe operations.
[WARNING] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/config/StageDefinition.java: Recompile with -Xlint:unchecked for details.
[INFO] 12 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/g706872/git/datacollector/container/src/main/java/com/streamsets/datacollector/definition/ConfigDefinitionExtractor.java:[391,12] an enum switch case label must be the unqualified name of an enumeration constant
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------

@metadaddy
Copy link
Contributor

Is there a specific reason you're trying to use such an old version? We are currently on 3.13.0.

@cuiwei-github
Copy link
Author

cuiwei-github commented Mar 4, 2020 via email

@metadaddy
Copy link
Contributor

Check the version of StreamSets Data Collector that you are using. It needs to be the same as that. The same instructions should still work.

@cuiwei-github
Copy link
Author

cuiwei-github commented Mar 6, 2020 via email

@metadaddy
Copy link
Contributor

Hi Wei - I'll investigate the build failure. Yes - try creating your custom destination now. I don't think those specific issues will be a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants