You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by ch huang <ju...@gmail.com> on 2014/02/21 02:07:46 UTC

any optimize suggestion for high concurrent write into hdfs?

hi,maillist:
          is there any optimize for large of write into hdfs in same time ?
thanks

Re: any optimize suggestion for high concurrent write into hdfs?

Posted by Suresh Srinivas <su...@hortonworks.com>.
Another alternative is to write block sized chunks into multiple hdfs files concurrently followed by concat to all those into a single file. 

Sent from phone

> On Feb 20, 2014, at 8:15 PM, Chen Wang <ch...@gmail.com> wrote:
> 
> Ch,
> you may consider using flume as it already has a flume sink that can sink to hdfs. What I did is to set up a flume listening on an Avro sink, and then sink to hdfs. Then in my application, i just send my data to avro socket.
> Chen
> 
> 
>> On Thu, Feb 20, 2014 at 5:07 PM, ch huang <ju...@gmail.com> wrote:
>> hi,maillist:
>>           is there any optimize for large of write into hdfs in same time ? thanks
> 

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: any optimize suggestion for high concurrent write into hdfs?

Posted by Suresh Srinivas <su...@hortonworks.com>.
Another alternative is to write block sized chunks into multiple hdfs files concurrently followed by concat to all those into a single file. 

Sent from phone

> On Feb 20, 2014, at 8:15 PM, Chen Wang <ch...@gmail.com> wrote:
> 
> Ch,
> you may consider using flume as it already has a flume sink that can sink to hdfs. What I did is to set up a flume listening on an Avro sink, and then sink to hdfs. Then in my application, i just send my data to avro socket.
> Chen
> 
> 
>> On Thu, Feb 20, 2014 at 5:07 PM, ch huang <ju...@gmail.com> wrote:
>> hi,maillist:
>>           is there any optimize for large of write into hdfs in same time ? thanks
> 

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: any optimize suggestion for high concurrent write into hdfs?

Posted by Suresh Srinivas <su...@hortonworks.com>.
Another alternative is to write block sized chunks into multiple hdfs files concurrently followed by concat to all those into a single file. 

Sent from phone

> On Feb 20, 2014, at 8:15 PM, Chen Wang <ch...@gmail.com> wrote:
> 
> Ch,
> you may consider using flume as it already has a flume sink that can sink to hdfs. What I did is to set up a flume listening on an Avro sink, and then sink to hdfs. Then in my application, i just send my data to avro socket.
> Chen
> 
> 
>> On Thu, Feb 20, 2014 at 5:07 PM, ch huang <ju...@gmail.com> wrote:
>> hi,maillist:
>>           is there any optimize for large of write into hdfs in same time ? thanks
> 

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: any optimize suggestion for high concurrent write into hdfs?

Posted by Suresh Srinivas <su...@hortonworks.com>.
Another alternative is to write block sized chunks into multiple hdfs files concurrently followed by concat to all those into a single file. 

Sent from phone

> On Feb 20, 2014, at 8:15 PM, Chen Wang <ch...@gmail.com> wrote:
> 
> Ch,
> you may consider using flume as it already has a flume sink that can sink to hdfs. What I did is to set up a flume listening on an Avro sink, and then sink to hdfs. Then in my application, i just send my data to avro socket.
> Chen
> 
> 
>> On Thu, Feb 20, 2014 at 5:07 PM, ch huang <ju...@gmail.com> wrote:
>> hi,maillist:
>>           is there any optimize for large of write into hdfs in same time ? thanks
> 

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: any optimize suggestion for high concurrent write into hdfs?

Posted by Chen Wang <ch...@gmail.com>.
Ch,
you may consider using flume as it already has a flume sink that can sink
to hdfs. What I did is to set up a flume listening on an Avro sink, and
then sink to hdfs. Then in my application, i just send my data to avro
socket.
Chen


On Thu, Feb 20, 2014 at 5:07 PM, ch huang <ju...@gmail.com> wrote:

> hi,maillist:
>           is there any optimize for large of write into hdfs in same time
> ? thanks
>

Re: any optimize suggestion for high concurrent write into hdfs?

Posted by Chen Wang <ch...@gmail.com>.
Ch,
you may consider using flume as it already has a flume sink that can sink
to hdfs. What I did is to set up a flume listening on an Avro sink, and
then sink to hdfs. Then in my application, i just send my data to avro
socket.
Chen


On Thu, Feb 20, 2014 at 5:07 PM, ch huang <ju...@gmail.com> wrote:

> hi,maillist:
>           is there any optimize for large of write into hdfs in same time
> ? thanks
>

Re: any optimize suggestion for high concurrent write into hdfs?

Posted by Chen Wang <ch...@gmail.com>.
Ch,
you may consider using flume as it already has a flume sink that can sink
to hdfs. What I did is to set up a flume listening on an Avro sink, and
then sink to hdfs. Then in my application, i just send my data to avro
socket.
Chen


On Thu, Feb 20, 2014 at 5:07 PM, ch huang <ju...@gmail.com> wrote:

> hi,maillist:
>           is there any optimize for large of write into hdfs in same time
> ? thanks
>

Re: any optimize suggestion for high concurrent write into hdfs?

Posted by Chen Wang <ch...@gmail.com>.
Ch,
you may consider using flume as it already has a flume sink that can sink
to hdfs. What I did is to set up a flume listening on an Avro sink, and
then sink to hdfs. Then in my application, i just send my data to avro
socket.
Chen


On Thu, Feb 20, 2014 at 5:07 PM, ch huang <ju...@gmail.com> wrote:

> hi,maillist:
>           is there any optimize for large of write into hdfs in same time
> ? thanks
>