hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dealmaker <vin...@gmail.com>
Subject Mysql Load Data Infile with Hadoop?
Date Tue, 19 May 2009 19:54:33 GMT

Hi,
  I am want to load data in mysql using a hadoop file similar to following:
LOAD DATA INFILE 'test.txt' INTO TABLE test
  FIELDS TERMINATED BY ','  LINES STARTING BY 'xxx';

But how do I load the hdfs file into the mysql comand above?  Do I start the
file name with hdfd://test.txt?  I am using java.
Thanks.

-- 
View this message in context: http://www.nabble.com/Mysql-Load-Data-Infile-with-Hadoop--tp23623256p23623256.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Mime
View raw message