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 Threaded View
Hive >> mail # user >> HiveHistory and HiveHistoryViewer


Copy link to this message
-
Re: HiveHistory and HiveHistoryViewer
I don\t think it is a bug. If the program in hive writes logs to
HiveHistory.log using '\n' to indicate the end of a line. Then, it is OK to
use *val = val.replace('\n', ' ');.  Anyway, **
new line depends what on your
OS:<https://ccrma.stanford.edu/~craig/utility/flip/> Hive
is typically deployed on Linux.
*
*
DOS & Windows: \r\n 0D0A (hex), 13,10 (decimal)

Unix & Mac OS X: \n, 0A, 10
Macintosh (OS 9): \r, 0D, 13
*
On Sun, Dec 16, 2012 at 11:23 AM, Qiang Wang <[EMAIL PROTECTED]> wrote:

> '\n', '\r',
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