Why can not compile carbondata-presto integration module alone?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Why can not compile carbondata-presto integration module alone?

suizhe007
This post has NOT been accepted by the mailing list yet.
Hi,all
According to this document,https://github.com/apache/carbondata/tree/master/integration/presto, why can not compile carbondata-presto integration module alone?
I execute the following command´╝Ü

mvn clean package -e


The following error occurred:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project carbondata-presto: Compilation failure
[ERROR] /opt/gitrepo/carbondata/carbondata/integration/presto/src/main/java/org/apache/carbondata/presto/CarbondataRecordSet.java:[88,38] incompatible types: org.apache.carbondata.core.meta
data.ColumnarFormatVersion cannot be converted to org.apache.carbondata.core.datastore.block.BlockletInfos[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project carbondata-presto: Com
pilation failure/opt/gitrepo/carbondata/carbondata/integration/presto/src/main/java/org/apache/carbondata/presto/CarbondataRecordSet.java:[88,38] incompatible types: org.apache.carbondata.core.metadata.Col
umnarFormatVersion cannot be converted to org.apache.carbondata.core.datastore.block.BlockletInfos
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
/opt/gitrepo/carbondata/carbondata/integration/presto/src/main/java/org/apache/carbondata/presto/CarbondataRecordSet.java:[88,38] incompatible types: org.apache.carbondata.core.metadata.Col
umnarFormatVersion cannot be converted to org.apache.carbondata.core.datastore.block.BlockletInfos
	at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:909)
	at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
Reply | Threaded
Open this post in threaded view
|

Re: Why can not compile carbondata-presto integration module alone?

Erlu Chen
Hi

It shows type convert error, have changed some code ?

Regards.
Chenerlu.
Reply | Threaded
Open this post in threaded view
|

Re: Why can not compile carbondata-presto integration module alone?

suizhe007
This post has NOT been accepted by the mailing list yet.
We did not change any code,it shows the error.