Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> Best way to update node using command line


+
Nathan Findley 2013-03-22, 11:17
+
Nathan Findley 2013-03-25, 03:48
+
Alexander Shraer 2013-03-25, 06:11
+
Nathan Findley 2013-03-25, 06:22
+
Alexander Shraer 2013-03-25, 07:27
Copy link to this message
-
Re: Best way to update node using command line
On 03/25/2013 04:27 PM, Alexander Shraer wrote:
> yeah, it splits using spaces.
> but try this:
>
>> bin/zkCli.sh -server 127.0.0.1:2797 set /configs/collection1/nate  "test me \n here"
>
> Alex
>
>
>
>
Alex,

Thanks for your input, but when I try that the value stored is not a
newline, but a literal string "test me \n here".  I am hoping to be able
to alter node value so that it contains newlines.  Can I redirect a
file's contents into the set command?

Regards,
Nate

--
CTO
Zenlok株式会社
+
Alexander Shraer 2013-03-25, 16:37
+
Nathan Findley 2013-03-26, 05:25
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB