HADOOP-2124 Use of `hostname` does not work on Cygwin in some cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@590273 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
00d4ab27f3
commit
e91c531235
|
@ -16,6 +16,7 @@ Trunk (unreleased changes)
|
|||
HADOOP-2064 TestSplit assertion and NPE failures (Patch build #952 and #953)
|
||||
HADOOP-2056 A table with row keys containing colon fails to split regions
|
||||
HADOOP-2079 HADOOP-2056 Fix generated HLog, HRegion names
|
||||
HADOOP-2124 Use of `hostname` does not work on Cygwin in some cases
|
||||
|
||||
IMPROVEMENTS
|
||||
HADOOP-2401 Add convenience put method that takes writable
|
||||
|
|
|
@ -94,9 +94,9 @@ if [ "$HADOOP_IDENT_STRING" = "" ]; then
|
|||
fi
|
||||
|
||||
# some variables
|
||||
export HADOOP_LOGFILE=hbase-$HADOOP_IDENT_STRING-$command-`hostname`.log
|
||||
export HADOOP_LOGFILE=hbase-$HADOOP_IDENT_STRING-$command-$HOSTNAME.log
|
||||
export HADOOP_ROOT_LOGGER="INFO,DRFA"
|
||||
log=$HADOOP_LOG_DIR/hbase-$HADOOP_IDENT_STRING-$command-`hostname`.out
|
||||
log=$HADOOP_LOG_DIR/hbase-$HADOOP_IDENT_STRING-$command-$HOSTNAME.out
|
||||
pid=$HADOOP_PID_DIR/hbase-$HADOOP_IDENT_STRING-$command.pid
|
||||
|
||||
# Set default scheduling priority
|
||||
|
|
Loading…
Reference in New Issue