Re: upgrade from 3.4.5 to 3.5.6

2020-06-22 Thread Jordan Zimmerman
It's the same as the normal ZooKeeper client: 
https://zookeeper.apache.org/doc/r3.6.1/zookeeperAdmin.html#sc_authOptions 


-Jordan

> On Jun 22, 2020, at 5:50 AM, kuldeep singh  wrote:
> 
> Hi Team,
> How we will do secure communication between the Curator framework and
> zookeeper 3.5.6 ?
> I didn't get any solution right now.
> I appreciate it if someone could help me with the same.
> 
> Thanks,
> -
> Kuldeep Singh Budania
> Software Architect
> 
> 
> On Fri, Apr 17, 2020 at 4:53 PM Szalay-Bekő Máté 
> wrote:
> 
>> Hello Kuldeep,
>> 
>> did you download the source from the ZooKeeper webpage, or checked out from
>> git?
>> Anyway, the following commands should work:
>> 
>> wget
>> 
>> https://downloads.apache.org/zookeeper/zookeeper-3.5.7/apache-zookeeper-3.5.7.tar.gz
>> tar xzvf ./apache-zookeeper-3.5.7.tar.gz
>> cd apache-zookeeper-3.5.7
>> mvn clean install -DskipTests
>> 
>> I tested it with OpenJDK 8u424 and maven 3.6.0.
>> 
>> Kind regards,
>> Mate
>> 
>> 
>> On Fri, Apr 17, 2020 at 12:51 PM kuldeep singh 
>> wrote:
>> 
>>> Hi All,
>>> 
>>> I have download the zookeeper source code and run the mvn command for
>>> packaging but get problem on "zookeeper-server" directory.
>>> 
>>> *command :- mvn clean package*
>>> 
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile
>>> (default-compile) on project zookeeper: Fatal error compiling:
>>> java.lang.NullPointerException -> [Help 1]
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>>> goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile
>>> (default-compile) on project zookeeper: Fatal error compiling
>>>at
>>> 
>>> 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
>>>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:108)
>>>at
>>> 
>>> 
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
>>>at
>>> 
>>> 
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>>>at
>>> 
>>> 
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
>>>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
>>>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
>>>at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>>>at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
>>>at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
>>>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.MojoExecutionException: Fatal error
>>> compiling
>>>at
>>> 
>>> 
>> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1140)
>>>at
>>> 
>>> 
>> org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188)
>>>at
>>> 
>>> 
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
>>>at
>>> 
>>> 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>>>... 19 more
>>> Caused by: org.codehaus.plexus.compiler.CompilerException:
>>> java.lang.NullPointerException
>>>at
>>> 
>>> 
>> org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:173)
>>>at
>>> 
>>> 
>> org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
>>>at
>>> 
>>> 
>> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129)
>>>... 22 more
>>> Caused by: java.lang.RuntimeException: java.lang.NullPointerException
>>>at com.sun.tools.javac.main.Main.compile(Main.java:559)
>>>at
>>> 

Re: upgrade from 3.4.5 to 3.5.6

2020-06-22 Thread kuldeep singh
Hi Team,
How we will do secure communication between the Curator framework and
zookeeper 3.5.6 ?
I didn't get any solution right now.
I appreciate it if someone could help me with the same.

Thanks,
-
Kuldeep Singh Budania
Software Architect


On Fri, Apr 17, 2020 at 4:53 PM Szalay-Bekő Máté 
wrote:

> Hello Kuldeep,
>
> did you download the source from the ZooKeeper webpage, or checked out from
> git?
> Anyway, the following commands should work:
>
> wget
>
> https://downloads.apache.org/zookeeper/zookeeper-3.5.7/apache-zookeeper-3.5.7.tar.gz
> tar xzvf ./apache-zookeeper-3.5.7.tar.gz
> cd apache-zookeeper-3.5.7
> mvn clean install -DskipTests
>
> I tested it with OpenJDK 8u424 and maven 3.6.0.
>
> Kind regards,
> Mate
>
>
> On Fri, Apr 17, 2020 at 12:51 PM kuldeep singh 
> wrote:
>
> > Hi All,
> >
> > I have download the zookeeper source code and run the mvn command for
> > packaging but get problem on "zookeeper-server" directory.
> >
> > *command :- mvn clean package*
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile
> > (default-compile) on project zookeeper: Fatal error compiling:
> > java.lang.NullPointerException -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile
> > (default-compile) on project zookeeper: Fatal error compiling
> > at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
> > 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:108)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
> > 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.MojoExecutionException: Fatal error
> > compiling
> > at
> >
> >
> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1140)
> > at
> >
> >
> org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188)
> > at
> >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> > ... 19 more
> > Caused by: org.codehaus.plexus.compiler.CompilerException:
> > java.lang.NullPointerException
> > at
> >
> >
> org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:173)
> > at
> >
> >
> org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
> > at
> >
> >
> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129)
> > ... 22 more
> > Caused by: java.lang.RuntimeException: java.lang.NullPointerException
> > at com.sun.tools.javac.main.Main.compile(Main.java:559)
> > at
> > com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
> > at
> > com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
> > at
> >
> >
> org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
> > ... 24 more
> > Caused by: java.lang.NullPointerException
> > at
> >
> >
>