㈠ ˎ̥Will you please (借) me your oar.' My family will go for a vacation on May Day.
用lend
看主语,是主语借给别人就是lend,主语向别人借就是borrow
Will you please lend me your oar?
你可以借你的桨给我吗?
My family will go for a vacation on May Day.
我们家会在五一去度假。
㈡ 如何提高zookeeper每个结点所能存储的数据大小
今天发现一个问题,zookeeper默认对每个结点的最大数据量有一个上限是1M,如果你要设置的配置数据大于这个上限将无法写法,在网上查了一圈发现有一个解决方案如下,增加-Djute.maxbuffer=10240000参数
最终提供一个完整的修改后的zkServer.sh文件如下
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding right ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If this scripted is run out of /usr/bin or some other system bin directory
# it should be linked to and not copied. Things like java jar files are found
# relative to the canonical path of this script.
#
# See the following page for extensive details on setting
# up the JVM to accept JMX remote management:
# http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html
# by default we allow local JMX connections
ZOO_USER_CFG="-Djute.maxbuffer=10240000"
if [ "x$JMXLOCALONLY" = "x" ]
then
JMXLOCALONLY=false
fi
if [ "x$JMXDISABLE" = "x" ]
then
echo "JMX enabled by default" >&2
# for some reason these two options are necessary on jdk6 on Ubuntu
# accord to the docs they are not necessary, but otw jconsole cannot
# do a local attach
ZOOMAIN="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=$JMXLOCALONLY org.apache.zookeeper.server.quorum.QuorumPeerMain"
else
echo "JMX disabled by user request" >&2
ZOOMAIN="org.apache.zookeeper.server.quorum.QuorumPeerMain"
fi
# Only follow symlinks if readlink supports it
if readlink -f "$0" > /dev/null 2>&1
then
ZOOBIN=`readlink -f "$0"`
else
ZOOBIN="$0"
fi
ZOOBINDIR=`dirname "$ZOOBIN"`
. "$ZOOBINDIR"/zkEnv.sh
if [ "x$SERVER_JVMFLAGS" ]
then
JVMFLAGS="$SERVER_JVMFLAGS $JVMFLAGS"
fi
if [ "x$2" != "x" ]
then
ZOOCFG="$ZOOCFGDIR/$2"
fi
# if we give a more complicated path to the config, don't screw around in $ZOOCFGDIR
if [ "x`dirname $ZOOCFG`" != "x$ZOOCFGDIR" ]
then
ZOOCFG="$2"
echo "Using config:$2" >&2
fi
if $cygwin
then
ZOOCFG=`cygpath -wp "$ZOOCFG"`
# cygwin has a "kill" in the shell itself, gets confused
KILL=/bin/kill
else
KILL=kill
fi
echo "Using config: $ZOOCFG" >&2
if [ -z $ZOOPIDFILE ]
then ZOOPIDFILE=$(grep dataDir "$ZOOCFG" | sed -e 's/.*=//')/zookeeper_server.pid
fi
_ZOO_DAEMON_OUT="$ZOO_LOG_DIR/zookeeper.out"
case $1 in
start)
echo -n "Starting zookeeper ... "
if [ -f $ZOOPIDFILE ]; then
if kill -0 `cat $ZOOPIDFILE` > /dev/null 2>&1; then
echo $command already running as process `cat $ZOOPIDFILE`.
exit 0
fi
fi
nohup $JAVA "$ZOO_USER_CFG" "-Dzookeeper.log.dir=${ZOO_LOG_DIR}" "-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}" \
-cp "$CLASSPATH" $JVMFLAGS $ZOOMAIN "$ZOOCFG" > "$_ZOO_DAEMON_OUT" 2>&1 < /dev/null &
if [ $? -eq 0 ]
then
if /bin/echo -n $! > "$ZOOPIDFILE"
then
sleep 1
echo STARTED
else
echo FAILED TO WRITE PID
exit 1
fi
else
echo SERVER DID NOT START
exit 1
fi
;;
start-foreground)
ZOO_CMD="exec $JAVA"
if [ "${ZOO_NOEXEC}" != "" ]; then
ZOO_CMD="$JAVA"
fi
$ZOO_CMD "$ZOO_USER_CFG" "-Dzookeeper.log.dir=${ZOO_LOG_DIR}" "-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}" \
-cp "$CLASSPATH" $JVMFLAGS $ZOOMAIN "$ZOOCFG"
;;
print-cmd)
echo "$JAVA -Dzookeeper.log.dir=\"${ZOO_LOG_DIR}\" -Dzookeeper.root.logger=\"${ZOO_LOG4J_PROP}\" -cp \"$CLASSPATH\" $JVMFLAGS $ZOOMAIN \"$ZOOCFG\" > \"$_ZOO_DAEMON_OUT\" 2>&1 < /dev/null"
;;
stop)
echo -n "Stopping zookeeper ... "
if [ ! -f "$ZOOPIDFILE" ]
then
echo "no zookeeper to stop (could not find file $ZOOPIDFILE)"
else
$KILL -9 $(cat "$ZOOPIDFILE")
rm "$ZOOPIDFILE"
echo STOPPED
fi
;;
upgrade)
shift
echo "upgrading the servers to 3.*"
$JAVA "-Dzookeeper.log.dir=${ZOO_LOG_DIR}" "-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}" \
-cp "$CLASSPATH" $JVMFLAGS org.apache.zookeeper.server.upgrade.UpgradeMain ${@}
echo "Upgrading ... "
;;
restart)
shift
"$0" stop ${@}
sleep 3
"$0" start ${@}
;;
status)
# -q is necessary on some versions of linux where nc returns too quickly, and no stat result is output
STAT=`$JAVA "-Dzookeeper.log.dir=${ZOO_LOG_DIR}" "-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}" \
-cp "$CLASSPATH" $JVMFLAGS org.apache.zookeeper.client.FourLetterWordMain localhost \
$(grep "^[[:space:]]*clientPort" "$ZOOCFG" | sed -e 's/.*=//') srvr 2> /dev/null \
| grep Mode`
if [ "x$STAT" = "x" ]
then
echo "Error contacting service. It is probably not running."
exit 1
else
echo $STAT
exit 0
fi
;;
*)
echo "Usage: $0 {start|start-foreground|stop|restart|status|upgrade|print-cmd}" >&2
esac
㈢ 求一款2000元左右的智能手机(网购)
i9000的另一个版本i9020,也就是 Nexus S。最好的单核cpu
,加上最好的屏(四寸刚好)。有人会推荐defe,本人坚决抵制,其实性价比很低(网络一下它的cpu,很残),正常人绝对不会把2000多的手机放水里看电影的。本人认为htc品牌效应严重,性价比真的不行。htc比的上i9020的,只有HD了,不过得3000.不值得。 其余要看楼主想干什么了,i9020的“蜂鸟”处理器对图像效果不错,想看电影,玩游戏的话很好。htc的高通处理器对上网还有普通的软件应用有不错的加速。
㈣ zk品牌的衣服贵吗
一般情况zk的一条连衣裙价格在220-350之间,毛呢外套价格在320-550之间,羽绒服在300-1000之间,皮裤在180-300之间......仅供参考,具体的价格你可以进zk旗舰店了解。
㈤ There are difficult k____ of animals in the zoo.We see the zookeepers give them food to e_____.
There are different (kinds) of animals in the zoo.We see the zoo keepers give them food to (eat).They don’t have to find food by (themselves).They just eat,walk and sleep (all) day.So many of us may think that the animals there are (happy) and lucky.But most of them are sad.Why?They’re no longer (free)!
Animals like elephants,monkeys and tigers usually live freely and happily in forests or mountains.Tigers,for (example) ,run,jump,play with their children and catch small animals for food.But now they have to stay in small rooms in the zoo.Their life in the zoo is quite (different) from their life in the forests.
Now many of us think more animals should go (back) to forests and mountains so that the earth will (become) better.
㈥ chu hue voi zk ong may bua truoc kung vo mak bua nay ong di lam oy 的越南话是什么意思。求解答
你这个没有音标 而且有几个词zk mak 越南语没有这几个单词呀
㈦ 侠盗猎车手自由城故事攻略啊跪求
攻略
任务59
Panlantic Land Grab
委托人:D。首先带着D去机场,之后干掉AVERY,夺取他的密码箱,再与D回到他的办公室。
奖励:3000$
㈧ zookeeper解决了哪些问题
今天发现一个问题,zookeeper默认对每个结点的最大数据量有一个上限是1M,如果你要设置的配置数据大于这个上限将无法写法,在网上查了一圈发现有一个解决方案如下,增加-Djute.maxbuffer=10240000参数最终提供一个完整的修改后的zkServer.sh文件如下#!/bin/sh#(ASF)underoneormore#contributorlicenseagreements.#.#,Version2.0#(the"License");#theLicense.YoumayobtainaoftheLicenseat##LICENSE-2.0##,software#"ASIS"BASIS,#,eitherexpressorimplied.##limitationsundertheLicense.##Ifthisscriptedisrunoutof/usr/#.#.###:##_USER_CFG="-Djute.maxbuffer=10240000"if["x$JMXLOCALONLY"="x"]thenJMXLOCALONLY=falsefiif["x$JMXDISABLE"="x"]thenecho"JMXenabledbydefault">&2##,butotwjconsolecannot#doalocalattachZOOMAIN="-Dcom.sun.management.jmxremote-Dcom.sun.management.jmxremote.local.only=$JMXLOCALONLYorg.apache.zookeeper.server.quorum.QuorumPeerMain"elseecho"JMXdisabledbyuserrequest">&2ZOOMAIN="org.apache.zookeeper.server.quorum.QuorumPeerMain"fi#-f"$0">/dev/null2>&1thenZOOBIN=`readlink-f"$0"`elseZOOBIN="$0"fiZOOBINDIR=`dirname"$ZOOBIN"`."$ZOOBINDIR"/zkEnv.shif["x$SERVER_JVMFLAGS"]thenJVMFLAGS="$SERVER_JVMFLAGS$JVMFLAGS"fiif["x$2"!="x"]thenZOOCFG="$ZOOCFGDIR/$2"fi#,don'tscrewaroundin$ZOOCFGDIRif["x`dirname$ZOOCFG`"!="x$ZOOCFGDIR"]thenZOOCFG="$2"echo"Usingconfig:$2">&2fiif$cygwinthenZOOCFG=`cygpath-wp"$ZOOCFG"`#cygwinhasa"kill"intheshellitself,getsconfusedKILL=/bin/killelseKILL=killfiecho"Usingconfig:$ZOOCFG">&2if[-z$ZOOPIDFILE]thenZOOPIDFILE=$(grepdataDir"$ZOOCFG"|sed-e's/.*=//')/zookeeper_server.pidfi_ZOO_DAEMON_OUT="$ZOO_LOG_DIR/zookeeper.out"case$1instart)echo-n"Startingzookeeper"if[-f$ZOOPIDFILE];thenifkill-0`cat$ZOOPIDFILE`>/dev/null2>&1;thenecho$`cat$ZOOPIDFILE`.exit0fifinohup$JAVA"$ZOO_USER_CFG""-Dzookeeper.log.dir=${ZOO_LOG_DIR}""-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}"\-cp"$CLASSPATH"$JVMFLAGS$ZOOMAIN"$ZOOCFG">"$_ZOO_DAEMON_OUT"2>&1"$ZOOPIDFILE"OTSTARTexit1fi;;start-foreground)ZOO_CMD="exec$JAVA"if["${ZOO_NOEXEC}"!=""];thenZOO_CMD="$JAVA"fi$ZOO_CMD"$ZOO_USER_CFG""-Dzookeeper.log.dir=${ZOO_LOG_DIR}""-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}"\-cp"$CLASSPATH"$JVMFLAGS$ZOOMAIN"$ZOOCFG";;print-cmd)echo"$JAVA-Dzookeeper.log.dir=\"${ZOO_LOG_DIR}\"-Dzookeeper.root.logger=\"${ZOO_LOG4J_PROP}\"-cp\"$CLASSPATH\"$JVMFLAGS$ZOOMAIN\"$ZOOCFG\">\"$_ZOO_DAEMON_OUT\"2>&1/dev/null\|grepMode`if["x$STAT"="x"]thenecho"Errorcontactingservice.Itisprobablynotrunning."exit1elseecho$STATexit0fi;;*)echo"Usage:$0{start|start-foreground|stop|restart|status|upgrade|print-cmd}">&2esac
㈨ 求这段视频的英文翻译!!!! http://v.youku.com/v_show/id_XMzE4Nzk2Nzg0.html
W:女 M:男
W:may i come in?
M:yes ,please do.
W:good morning,sir.my name is mary wang,i've come for an interview as requested.
M:nice to meet you,miss wang,i'm henry white,the director of the HR department,i was expecting you,please ,take a seat.
W:thank you.
M:well,miss wang,you're applying for the position of sells manager,right?how did you know about our company?
W: i got to know the name of P&G from such famous brands as blah blah blah,also in the summers of 1997 and 1998.i worked as a sells girl for P&G in guangzhou.
M:really?that's good,then you must know something about our company.
W:yes,a little.P&G is a famous company,your cosmetics in skin procts are very popular with women all over the world.
M:that's right,miss wang,can you tell me which university you attended?
W:XXXX
M:and what degree have you got?
W:i have a bachelor degree and business administration.
M:how is your english?you know some staff members in our company are americans,so conversational english is very important.
W:i passed TMA at college and i'm good at oral english.i think i can communicate with americans quite well.
M:good,i know you're now with united butter,what's your chief responsibility there?
W:i worked for five years ever since i graated from college.2 years ago,i was appointed brands manager,responsibe for the line of biscuits.
M:why do you want to change your job?
W:i want to change my working envornment,seeking new challenges and broaden my experiences,that's why i want to moving to sells.
M:what do you think is the most important qualification for a sales person?
W:i think it's self-confidence and quality procts.
M:i agree with you,what's salary would you expect to get here?
W:well,i would leave you to decide after you consider my abilities.my current annual income in united butter 150 thousand,but could you tell me a little more about what the job in tails?
M:you'll be in charge of all the sells activities for all P&G hair procts in north-east china,this would involve market analysis,client service and development ,sells promotion and regular customers service.you'll report directly to the regional sells director.do you have any other questions?
W:yes, only one,when can i have your decision?
M:i need to discuss with other board members,we'll notify you of our decision as soon as possible.but to be honestly,you seem to be the a good candidate, with the right kind of experiece and personality.you're high on my list.
W:that's good,thank you,mr white, i look forward to hearing from you,goodbye.
M:goodbye
听写什么的可能有些粗糙了,不过基本上就是以上了,希望能帮到你咯 :)