That change my only be in trunk. Just in case he is referencing this. be
careful about lowering this. Queries with lots of AND/ORS will not compile
if you set this too low.
bin/ext/cli.sh
else
echo "Unable to determine Hadoop version information."
echo "'hadoop version' returned:"
echo `$HADOOP version`
exit 6
fi
HADOOP_HEAPSIZE=4096
HADOOP_OPTS="$HADOOP_OPTS -XX:-UseGCOverheadLimit"
if [ $minor_ver -lt 20 ]; then
exec $HADOOP jar $AUX_JARS_CMD_LINE ${HIVE_LIB}/hive-cli-*.jar $CLASS
$HIVE_OPTS "$@"
else
# hadoop 20 or newer - skip the aux_jars option. picked up from
hiveconf
exec $HADOOP jar ${HIVE_LIB}/hive-cli-*.jar $CLASS $HIVE_OPTS "$@"
fi
On Wed, May 26, 2010 at 2:26 PM, Ning Zhang <[email protected]> wrote:
> It is in bin/ext/cli.sh. search for 4096.
>
> On May 26, 2010, at 11:11 AM, Sai Zhang wrote:
>
> > Hi all:
> >
> > After I installed hive according to its instructions, and launched it
> using command ./hive_home/bin/hive, I
> > found hive needs at least -Xmx4096 M memory to start. I am wondering is
> there any way to change this
> > configuration to require less memory?
> >
> > At least, I did not find a valid one using grep. Any suggestion is
> welcome.
> >
> > thanks
> >
> > -Sai
> >
>
>