go-zookeeper icon indicating copy to clipboard operation
go-zookeeper copied to clipboard

jaas conf option

Open AnirudhVyas opened this issue 9 years ago • 1 comments

I am trying to do a Get( ) but i get not authenticated error, I can do export JVMFLAGS ; zkCli.sh -server blah and get the value of this node.

When I try to however do this -

if cmdOut, err := exec.Command("/tmp/export_flags.sh").Output(); err != nil {
        fmt.Fprintln(os.Stderr, "There was an error runningexport command: ", err)
    } else {
        fmt.Printf("%v", cmdOut)
    }

That doesn't seem to do the trick prior to running c.Get(path) ...

AnirudhVyas avatar Oct 18 '16 21:10 AnirudhVyas

Is the project still alive?

AnirudhVyas avatar Dec 06 '16 19:12 AnirudhVyas