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

issue with build jobtype package #272

Open
lx308033262 opened this issue Aug 9, 2017 · 2 comments
Open

issue with build jobtype package #272

lx308033262 opened this issue Aug 9, 2017 · 2 comments

Comments

@lx308033262
Copy link

when i install jobtype plugin, i got this error
hadoopsecuritymanager-yarn and reportal plugin is ok

[root@iZ25xzk7wqqZ jobtype]# ant package
Buildfile: /usr/local/src/azkaban-plugins-master/plugins/jobtype/build.xml

clean:
[echo] Deleting generated files in dist
[delete] Deleting directory /usr/local/src/azkaban-plugins-master/dist/jobtype/classes

build:
[copy] Copying 1 file to /usr/local/src/azkaban-plugins-master/plugins/jobtype/lib
[mkdir] Created dir: /usr/local/src/azkaban-plugins-master/dist/jobtype/classes
[javac] /usr/local/src/azkaban-plugins-master/plugins/jobtype/build.xml:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 75 source files to /usr/local/src/azkaban-plugins-master/dist/jobtype/classes
[javac] /usr/local/src/azkaban-plugins-master/plugins/jobtype/src/azkaban/jobtype/connectors/teradata/TdchParameters.java:23: error: package com.fasterxml.jackson.databind does not exist
[javac] import com.fasterxml.jackson.databind.JsonNode;
[javac] ^
[javac] /usr/local/src/azkaban-plugins-master/plugins/jobtype/src/azkaban/jobtype/connectors/teradata/TdchParameters.java:24: error: package com.fasterxml.jackson.databind does not exist
[javac] import com.fasterxml.jackson.databind.ObjectMapper;
[javac] ^
[javac] /usr/local/src/azkaban-plugins-master/plugins/jobtype/src/azkaban/jobtype/connectors/teradata/TdchParameters.java:548: error: cannot find symbol
[javac] ObjectMapper mapper = new ObjectMapper();
[javac] ^
[javac] symbol: class ObjectMapper
[javac] location: class TdchParameters
[javac] /usr/local/src/azkaban-plugins-master/plugins/jobtype/src/azkaban/jobtype/connectors/teradata/TdchParameters.java:548: error: cannot find symbol
[javac] ObjectMapper mapper = new ObjectMapper();
[javac] ^
[javac] symbol: class ObjectMapper
[javac] location: class TdchParameters
[javac] /usr/local/src/azkaban-plugins-master/plugins/jobtype/src/azkaban/jobtype/connectors/teradata/TdchParameters.java:549: error: cannot find symbol
[javac] JsonNode json = mapper.readTree(_otherProperties.get().root().render(ConfigRenderOptions.concise()));
[javac] ^
[javac] symbol: class JsonNode
[javac] location: class TdchParameters
[javac] /usr/local/src/azkaban-plugins-master/plugins/jobtype/src/azkaban/jobtype/connectors/teradata/TdchParameters.java:551: error: cannot find symbol
[javac] Iterator<Map.Entry<String, JsonNode>> it = json.fields();
[javac] ^
[javac] symbol: class JsonNode
[javac] location: class TdchParameters
[javac] /usr/local/src/azkaban-plugins-master/plugins/jobtype/src/azkaban/jobtype/connectors/teradata/TdchParameters.java:553: error: cannot find symbol
[javac] Map.Entry<String, JsonNode> entry = it.next();
[javac] ^
[javac] symbol: class JsonNode
[javac] location: class TdchParameters
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /usr/local/src/azkaban-plugins-master/plugins/jobtype/src/azkaban/jobtype/HadoopSecureSparkWrapper.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors

BUILD FAILED
/usr/local/src/azkaban-plugins-master/plugins/jobtype/build.xml:92: Compile failed; see the compiler error output for details.

Total time: 4 seconds

@openmartin
Copy link

I am using JDK 1.8, I am OK with these steps:

step 1

cd azkaban-plugins
cd plugins
cd hadoopsecuritymanager
ant package

step 2

cd ..
cd crypto
ant package

step 3

cd ..
cd jobtype
ant package

@decm32
Copy link

decm32 commented Nov 21, 2017

same error
my azkaban version is 3.38.0

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

3 participants