You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Jignesh Patel <ji...@gmail.com> on 2011/10/17 19:51:20 UTC
setting ulimit in os Lion X
While setting Hbase there is a article to setup limit for the file. However
I didn't find any appropriate command to setup same in Mac.
Please let me know how to setup max file size permanently.
-Jignesh
Re: setting ulimit in os Lion X
Posted by Stack <st...@duboce.net>.
On Tue, Oct 18, 2011 at 7:34 AM, Jignesh Patel <ji...@gmail.com> wrote:
> Harsh,
> for the launchctl changes even by using sudo command as an admin it says I
> don't have permission.
>
>
Would suggest you look on a macosx mailing list for answer to above Jignesh.
St.Ack
Re: setting ulimit in os Lion X
Posted by Jignesh Patel <ji...@gmail.com>.
Harsh,
for the launchctl changes even by using sudo command as an admin it says I
don't have permission.
-Jignesh
On Tue, Oct 18, 2011 at 10:21 AM, Harsh J <ha...@cloudera.com> wrote:
> Jignesh,
>
> You need to use OSX's launchctl to make permanent changes to your
> limit types. By nature, ulimit's changes are not persistent.
>
> On Tue, Oct 18, 2011 at 7:41 PM, Jignesh Patel <ji...@gmail.com>
> wrote:
> > Thanks Dough.
> >
> > J-D the link you forwarded is not of much use for me. It doesn't work for
> > the Lion OSX.
> > By using ulimit -n I am able to set the value to 1024 but at the end if I
> > restart the machine it goes back to original 256. Don't know how to make
> > this change permanent
> >
> > -Jignesh
> >
> > On Mon, Oct 17, 2011 at 2:59 PM, Doug Meil <
> doug.meil@explorysmedical.com>wrote:
> >
> >>
> >> Jignesh, for an example of the error that JD is citing (and other common
> >> errors) see the Troubleshooting chapter.
> >>
> >> http://hbase.apache.org/book.html#trouble
> >>
> >>
> >>
> >>
> >>
> >> On 10/17/11 2:43 PM, "Jean-Daniel Cryans" <jd...@apache.org> wrote:
> >>
> >> >It always depends on the scope of your test :)
> >> >
> >> >For me the defaults are not a problem, but if all of a sudden you
> decide
> >> >to
> >> >create a couple of hundreds of regions, then you will run into too many
> >> >open
> >> >files.
> >> >
> >> >J-D
> >> >
> >> >On Mon, Oct 17, 2011 at 11:37 AM, Jignesh Patel
> >> ><ji...@gmail.com>wrote:
> >> >
> >> >> J-D as Harsh said in test it will work without changing anything even
> >> >>with
> >> >> the limit open files of 256. Is that correct?
> >> >>
> >> >> _jginesh
> >> >>
> >> >> On Mon, Oct 17, 2011 at 2:27 PM, Jean-Daniel Cryans <
> >> jdcryans@apache.org
> >> >> >wrote:
> >> >>
> >> >> > That's usually the first problem a user will hit, so we're very
> >> >>up-front.
> >> >> >
> >> >> > J-D
> >> >> >
> >> >> > On Mon, Oct 17, 2011 at 11:22 AM, Jignesh Patel
> >> >><jigneshmpatel@gmail.com
> >> >> > >wrote:
> >> >> >
> >> >> > > Harsh,
> >> >> > > As you understand from some other post we have exchanged. I am at
> >> >>very
> >> >> > > early
> >> >> > > stage of evaluating hadoop,base. We will start the development in
> >> >>next
> >> >> > > month
> >> >> > > or so. So production is not in question at this time.
> >> >> > >
> >> >> > > But wondering if the system should run in testing then why hbase
> >> >>book
> >> >> > > section 2.2.4 asks to set the limit at initial stage. Any idea?
> >> >> > >
> >> >> > > http://hbase.apache.org/book/os.html
> >> >> > >
> >> >> > > -Jignesh
> >> >> > >
> >> >> > > On Mon, Oct 17, 2011 at 1:57 PM, Harsh J <ha...@cloudera.com>
> >> wrote:
> >> >> > >
> >> >> > > > Jignesh,
> >> >> > > >
> >> >> > > > Curious if you are gonna run HBase on production over OSX.
> >> >>Otherwise,
> >> >> > > > the default limits should be good enough for testing, and HBase
> >> >>also
> >> >> > > > seems to set its own -n opt before it begins.
> >> >> > > >
> >> >> > > > But anyways, if you are looking to set things permanently, and
> >> >>using
> >> >> > > > ulimit is not cutting it for you, checkout launchctl:
> >> >> > > >
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >> >>
> >>
> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/Ma
> >> >>nPages/man1/launchctl.1.html
> >> >> > > > [See the "limit" expansions]
> >> >> > > >
> >> >> > > > On Mon, Oct 17, 2011 at 11:24 PM, Jignesh Patel <
> >> >> > jigneshmpatel@gmail.com
> >> >> > > >
> >> >> > > > wrote:
> >> >> > > > > My machine shows as follows:
> >> >> > > > >
> >> >> > > > > Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
> >> >> > > > > kern.maxproc = 1064
> >> >> > > > > kern.maxprocperuid = 709
> >> >> > > > > kern.maxproc: 1064
> >> >> > > > > kern.maxprocperuid: 709
> >> >> > > > >
> >> >> > > > >
> >> >> > > > > On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <
> >> >> > > jigneshmpatel@gmail.com
> >> >> > > > >wrote:
> >> >> > > > >
> >> >> > > > >> While setting Hbase there is a article to setup limit for
> the
> >> >> file.
> >> >> > > > However
> >> >> > > > >> I didn't find any appropriate command to setup same in Mac.
> >> >> > > > >>
> >> >> > > > >> Please let me know how to setup max file size permanently.
> >> >> > > > >>
> >> >> > > > >> -Jignesh
> >> >> > > > >>
> >> >> > > > >
> >> >> > > >
> >> >> > > >
> >> >> > > >
> >> >> > > > --
> >> >> > > > Harsh J
> >> >> > > >
> >> >> > >
> >> >> >
> >> >>
> >>
> >>
> >
>
>
>
> --
> Harsh J
>
Re: setting ulimit in os Lion X
Posted by Harsh J <ha...@cloudera.com>.
Jignesh,
You need to use OSX's launchctl to make permanent changes to your
limit types. By nature, ulimit's changes are not persistent.
On Tue, Oct 18, 2011 at 7:41 PM, Jignesh Patel <ji...@gmail.com> wrote:
> Thanks Dough.
>
> J-D the link you forwarded is not of much use for me. It doesn't work for
> the Lion OSX.
> By using ulimit -n I am able to set the value to 1024 but at the end if I
> restart the machine it goes back to original 256. Don't know how to make
> this change permanent
>
> -Jignesh
>
> On Mon, Oct 17, 2011 at 2:59 PM, Doug Meil <do...@explorysmedical.com>wrote:
>
>>
>> Jignesh, for an example of the error that JD is citing (and other common
>> errors) see the Troubleshooting chapter.
>>
>> http://hbase.apache.org/book.html#trouble
>>
>>
>>
>>
>>
>> On 10/17/11 2:43 PM, "Jean-Daniel Cryans" <jd...@apache.org> wrote:
>>
>> >It always depends on the scope of your test :)
>> >
>> >For me the defaults are not a problem, but if all of a sudden you decide
>> >to
>> >create a couple of hundreds of regions, then you will run into too many
>> >open
>> >files.
>> >
>> >J-D
>> >
>> >On Mon, Oct 17, 2011 at 11:37 AM, Jignesh Patel
>> ><ji...@gmail.com>wrote:
>> >
>> >> J-D as Harsh said in test it will work without changing anything even
>> >>with
>> >> the limit open files of 256. Is that correct?
>> >>
>> >> _jginesh
>> >>
>> >> On Mon, Oct 17, 2011 at 2:27 PM, Jean-Daniel Cryans <
>> jdcryans@apache.org
>> >> >wrote:
>> >>
>> >> > That's usually the first problem a user will hit, so we're very
>> >>up-front.
>> >> >
>> >> > J-D
>> >> >
>> >> > On Mon, Oct 17, 2011 at 11:22 AM, Jignesh Patel
>> >><jigneshmpatel@gmail.com
>> >> > >wrote:
>> >> >
>> >> > > Harsh,
>> >> > > As you understand from some other post we have exchanged. I am at
>> >>very
>> >> > > early
>> >> > > stage of evaluating hadoop,base. We will start the development in
>> >>next
>> >> > > month
>> >> > > or so. So production is not in question at this time.
>> >> > >
>> >> > > But wondering if the system should run in testing then why hbase
>> >>book
>> >> > > section 2.2.4 asks to set the limit at initial stage. Any idea?
>> >> > >
>> >> > > http://hbase.apache.org/book/os.html
>> >> > >
>> >> > > -Jignesh
>> >> > >
>> >> > > On Mon, Oct 17, 2011 at 1:57 PM, Harsh J <ha...@cloudera.com>
>> wrote:
>> >> > >
>> >> > > > Jignesh,
>> >> > > >
>> >> > > > Curious if you are gonna run HBase on production over OSX.
>> >>Otherwise,
>> >> > > > the default limits should be good enough for testing, and HBase
>> >>also
>> >> > > > seems to set its own -n opt before it begins.
>> >> > > >
>> >> > > > But anyways, if you are looking to set things permanently, and
>> >>using
>> >> > > > ulimit is not cutting it for you, checkout launchctl:
>> >> > > >
>> >> > > >
>> >> > >
>> >> >
>> >>
>> >>
>> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/Ma
>> >>nPages/man1/launchctl.1.html
>> >> > > > [See the "limit" expansions]
>> >> > > >
>> >> > > > On Mon, Oct 17, 2011 at 11:24 PM, Jignesh Patel <
>> >> > jigneshmpatel@gmail.com
>> >> > > >
>> >> > > > wrote:
>> >> > > > > My machine shows as follows:
>> >> > > > >
>> >> > > > > Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
>> >> > > > > kern.maxproc = 1064
>> >> > > > > kern.maxprocperuid = 709
>> >> > > > > kern.maxproc: 1064
>> >> > > > > kern.maxprocperuid: 709
>> >> > > > >
>> >> > > > >
>> >> > > > > On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <
>> >> > > jigneshmpatel@gmail.com
>> >> > > > >wrote:
>> >> > > > >
>> >> > > > >> While setting Hbase there is a article to setup limit for the
>> >> file.
>> >> > > > However
>> >> > > > >> I didn't find any appropriate command to setup same in Mac.
>> >> > > > >>
>> >> > > > >> Please let me know how to setup max file size permanently.
>> >> > > > >>
>> >> > > > >> -Jignesh
>> >> > > > >>
>> >> > > > >
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > > --
>> >> > > > Harsh J
>> >> > > >
>> >> > >
>> >> >
>> >>
>>
>>
>
--
Harsh J
Re: setting ulimit in os Lion X
Posted by Jignesh Patel <ji...@gmail.com>.
Thanks Dough.
J-D the link you forwarded is not of much use for me. It doesn't work for
the Lion OSX.
By using ulimit -n I am able to set the value to 1024 but at the end if I
restart the machine it goes back to original 256. Don't know how to make
this change permanent
-Jignesh
On Mon, Oct 17, 2011 at 2:59 PM, Doug Meil <do...@explorysmedical.com>wrote:
>
> Jignesh, for an example of the error that JD is citing (and other common
> errors) see the Troubleshooting chapter.
>
> http://hbase.apache.org/book.html#trouble
>
>
>
>
>
> On 10/17/11 2:43 PM, "Jean-Daniel Cryans" <jd...@apache.org> wrote:
>
> >It always depends on the scope of your test :)
> >
> >For me the defaults are not a problem, but if all of a sudden you decide
> >to
> >create a couple of hundreds of regions, then you will run into too many
> >open
> >files.
> >
> >J-D
> >
> >On Mon, Oct 17, 2011 at 11:37 AM, Jignesh Patel
> ><ji...@gmail.com>wrote:
> >
> >> J-D as Harsh said in test it will work without changing anything even
> >>with
> >> the limit open files of 256. Is that correct?
> >>
> >> _jginesh
> >>
> >> On Mon, Oct 17, 2011 at 2:27 PM, Jean-Daniel Cryans <
> jdcryans@apache.org
> >> >wrote:
> >>
> >> > That's usually the first problem a user will hit, so we're very
> >>up-front.
> >> >
> >> > J-D
> >> >
> >> > On Mon, Oct 17, 2011 at 11:22 AM, Jignesh Patel
> >><jigneshmpatel@gmail.com
> >> > >wrote:
> >> >
> >> > > Harsh,
> >> > > As you understand from some other post we have exchanged. I am at
> >>very
> >> > > early
> >> > > stage of evaluating hadoop,base. We will start the development in
> >>next
> >> > > month
> >> > > or so. So production is not in question at this time.
> >> > >
> >> > > But wondering if the system should run in testing then why hbase
> >>book
> >> > > section 2.2.4 asks to set the limit at initial stage. Any idea?
> >> > >
> >> > > http://hbase.apache.org/book/os.html
> >> > >
> >> > > -Jignesh
> >> > >
> >> > > On Mon, Oct 17, 2011 at 1:57 PM, Harsh J <ha...@cloudera.com>
> wrote:
> >> > >
> >> > > > Jignesh,
> >> > > >
> >> > > > Curious if you are gonna run HBase on production over OSX.
> >>Otherwise,
> >> > > > the default limits should be good enough for testing, and HBase
> >>also
> >> > > > seems to set its own -n opt before it begins.
> >> > > >
> >> > > > But anyways, if you are looking to set things permanently, and
> >>using
> >> > > > ulimit is not cutting it for you, checkout launchctl:
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> >>
> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/Ma
> >>nPages/man1/launchctl.1.html
> >> > > > [See the "limit" expansions]
> >> > > >
> >> > > > On Mon, Oct 17, 2011 at 11:24 PM, Jignesh Patel <
> >> > jigneshmpatel@gmail.com
> >> > > >
> >> > > > wrote:
> >> > > > > My machine shows as follows:
> >> > > > >
> >> > > > > Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
> >> > > > > kern.maxproc = 1064
> >> > > > > kern.maxprocperuid = 709
> >> > > > > kern.maxproc: 1064
> >> > > > > kern.maxprocperuid: 709
> >> > > > >
> >> > > > >
> >> > > > > On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <
> >> > > jigneshmpatel@gmail.com
> >> > > > >wrote:
> >> > > > >
> >> > > > >> While setting Hbase there is a article to setup limit for the
> >> file.
> >> > > > However
> >> > > > >> I didn't find any appropriate command to setup same in Mac.
> >> > > > >>
> >> > > > >> Please let me know how to setup max file size permanently.
> >> > > > >>
> >> > > > >> -Jignesh
> >> > > > >>
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Harsh J
> >> > > >
> >> > >
> >> >
> >>
>
>
Re: setting ulimit in os Lion X
Posted by Doug Meil <do...@explorysmedical.com>.
Jignesh, for an example of the error that JD is citing (and other common
errors) see the Troubleshooting chapter.
http://hbase.apache.org/book.html#trouble
On 10/17/11 2:43 PM, "Jean-Daniel Cryans" <jd...@apache.org> wrote:
>It always depends on the scope of your test :)
>
>For me the defaults are not a problem, but if all of a sudden you decide
>to
>create a couple of hundreds of regions, then you will run into too many
>open
>files.
>
>J-D
>
>On Mon, Oct 17, 2011 at 11:37 AM, Jignesh Patel
><ji...@gmail.com>wrote:
>
>> J-D as Harsh said in test it will work without changing anything even
>>with
>> the limit open files of 256. Is that correct?
>>
>> _jginesh
>>
>> On Mon, Oct 17, 2011 at 2:27 PM, Jean-Daniel Cryans <jdcryans@apache.org
>> >wrote:
>>
>> > That's usually the first problem a user will hit, so we're very
>>up-front.
>> >
>> > J-D
>> >
>> > On Mon, Oct 17, 2011 at 11:22 AM, Jignesh Patel
>><jigneshmpatel@gmail.com
>> > >wrote:
>> >
>> > > Harsh,
>> > > As you understand from some other post we have exchanged. I am at
>>very
>> > > early
>> > > stage of evaluating hadoop,base. We will start the development in
>>next
>> > > month
>> > > or so. So production is not in question at this time.
>> > >
>> > > But wondering if the system should run in testing then why hbase
>>book
>> > > section 2.2.4 asks to set the limit at initial stage. Any idea?
>> > >
>> > > http://hbase.apache.org/book/os.html
>> > >
>> > > -Jignesh
>> > >
>> > > On Mon, Oct 17, 2011 at 1:57 PM, Harsh J <ha...@cloudera.com> wrote:
>> > >
>> > > > Jignesh,
>> > > >
>> > > > Curious if you are gonna run HBase on production over OSX.
>>Otherwise,
>> > > > the default limits should be good enough for testing, and HBase
>>also
>> > > > seems to set its own -n opt before it begins.
>> > > >
>> > > > But anyways, if you are looking to set things permanently, and
>>using
>> > > > ulimit is not cutting it for you, checkout launchctl:
>> > > >
>> > > >
>> > >
>> >
>>
>>http://developer.apple.com/library/mac/#documentation/Darwin/Reference/Ma
>>nPages/man1/launchctl.1.html
>> > > > [See the "limit" expansions]
>> > > >
>> > > > On Mon, Oct 17, 2011 at 11:24 PM, Jignesh Patel <
>> > jigneshmpatel@gmail.com
>> > > >
>> > > > wrote:
>> > > > > My machine shows as follows:
>> > > > >
>> > > > > Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
>> > > > > kern.maxproc = 1064
>> > > > > kern.maxprocperuid = 709
>> > > > > kern.maxproc: 1064
>> > > > > kern.maxprocperuid: 709
>> > > > >
>> > > > >
>> > > > > On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <
>> > > jigneshmpatel@gmail.com
>> > > > >wrote:
>> > > > >
>> > > > >> While setting Hbase there is a article to setup limit for the
>> file.
>> > > > However
>> > > > >> I didn't find any appropriate command to setup same in Mac.
>> > > > >>
>> > > > >> Please let me know how to setup max file size permanently.
>> > > > >>
>> > > > >> -Jignesh
>> > > > >>
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > Harsh J
>> > > >
>> > >
>> >
>>
Re: setting ulimit in os Lion X
Posted by Jean-Daniel Cryans <jd...@apache.org>.
It always depends on the scope of your test :)
For me the defaults are not a problem, but if all of a sudden you decide to
create a couple of hundreds of regions, then you will run into too many open
files.
J-D
On Mon, Oct 17, 2011 at 11:37 AM, Jignesh Patel <ji...@gmail.com>wrote:
> J-D as Harsh said in test it will work without changing anything even with
> the limit open files of 256. Is that correct?
>
> _jginesh
>
> On Mon, Oct 17, 2011 at 2:27 PM, Jean-Daniel Cryans <jdcryans@apache.org
> >wrote:
>
> > That's usually the first problem a user will hit, so we're very up-front.
> >
> > J-D
> >
> > On Mon, Oct 17, 2011 at 11:22 AM, Jignesh Patel <jigneshmpatel@gmail.com
> > >wrote:
> >
> > > Harsh,
> > > As you understand from some other post we have exchanged. I am at very
> > > early
> > > stage of evaluating hadoop,base. We will start the development in next
> > > month
> > > or so. So production is not in question at this time.
> > >
> > > But wondering if the system should run in testing then why hbase book
> > > section 2.2.4 asks to set the limit at initial stage. Any idea?
> > >
> > > http://hbase.apache.org/book/os.html
> > >
> > > -Jignesh
> > >
> > > On Mon, Oct 17, 2011 at 1:57 PM, Harsh J <ha...@cloudera.com> wrote:
> > >
> > > > Jignesh,
> > > >
> > > > Curious if you are gonna run HBase on production over OSX. Otherwise,
> > > > the default limits should be good enough for testing, and HBase also
> > > > seems to set its own -n opt before it begins.
> > > >
> > > > But anyways, if you are looking to set things permanently, and using
> > > > ulimit is not cutting it for you, checkout launchctl:
> > > >
> > > >
> > >
> >
> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/launchctl.1.html
> > > > [See the "limit" expansions]
> > > >
> > > > On Mon, Oct 17, 2011 at 11:24 PM, Jignesh Patel <
> > jigneshmpatel@gmail.com
> > > >
> > > > wrote:
> > > > > My machine shows as follows:
> > > > >
> > > > > Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
> > > > > kern.maxproc = 1064
> > > > > kern.maxprocperuid = 709
> > > > > kern.maxproc: 1064
> > > > > kern.maxprocperuid: 709
> > > > >
> > > > >
> > > > > On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <
> > > jigneshmpatel@gmail.com
> > > > >wrote:
> > > > >
> > > > >> While setting Hbase there is a article to setup limit for the
> file.
> > > > However
> > > > >> I didn't find any appropriate command to setup same in Mac.
> > > > >>
> > > > >> Please let me know how to setup max file size permanently.
> > > > >>
> > > > >> -Jignesh
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Harsh J
> > > >
> > >
> >
>
Re: setting ulimit in os Lion X
Posted by Jignesh Patel <ji...@gmail.com>.
J-D as Harsh said in test it will work without changing anything even with
the limit open files of 256. Is that correct?
_jginesh
On Mon, Oct 17, 2011 at 2:27 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:
> That's usually the first problem a user will hit, so we're very up-front.
>
> J-D
>
> On Mon, Oct 17, 2011 at 11:22 AM, Jignesh Patel <jigneshmpatel@gmail.com
> >wrote:
>
> > Harsh,
> > As you understand from some other post we have exchanged. I am at very
> > early
> > stage of evaluating hadoop,base. We will start the development in next
> > month
> > or so. So production is not in question at this time.
> >
> > But wondering if the system should run in testing then why hbase book
> > section 2.2.4 asks to set the limit at initial stage. Any idea?
> >
> > http://hbase.apache.org/book/os.html
> >
> > -Jignesh
> >
> > On Mon, Oct 17, 2011 at 1:57 PM, Harsh J <ha...@cloudera.com> wrote:
> >
> > > Jignesh,
> > >
> > > Curious if you are gonna run HBase on production over OSX. Otherwise,
> > > the default limits should be good enough for testing, and HBase also
> > > seems to set its own -n opt before it begins.
> > >
> > > But anyways, if you are looking to set things permanently, and using
> > > ulimit is not cutting it for you, checkout launchctl:
> > >
> > >
> >
> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/launchctl.1.html
> > > [See the "limit" expansions]
> > >
> > > On Mon, Oct 17, 2011 at 11:24 PM, Jignesh Patel <
> jigneshmpatel@gmail.com
> > >
> > > wrote:
> > > > My machine shows as follows:
> > > >
> > > > Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
> > > > kern.maxproc = 1064
> > > > kern.maxprocperuid = 709
> > > > kern.maxproc: 1064
> > > > kern.maxprocperuid: 709
> > > >
> > > >
> > > > On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <
> > jigneshmpatel@gmail.com
> > > >wrote:
> > > >
> > > >> While setting Hbase there is a article to setup limit for the file.
> > > However
> > > >> I didn't find any appropriate command to setup same in Mac.
> > > >>
> > > >> Please let me know how to setup max file size permanently.
> > > >>
> > > >> -Jignesh
> > > >>
> > > >
> > >
> > >
> > >
> > > --
> > > Harsh J
> > >
> >
>
Re: setting ulimit in os Lion X
Posted by Jean-Daniel Cryans <jd...@apache.org>.
That's usually the first problem a user will hit, so we're very up-front.
J-D
On Mon, Oct 17, 2011 at 11:22 AM, Jignesh Patel <ji...@gmail.com>wrote:
> Harsh,
> As you understand from some other post we have exchanged. I am at very
> early
> stage of evaluating hadoop,base. We will start the development in next
> month
> or so. So production is not in question at this time.
>
> But wondering if the system should run in testing then why hbase book
> section 2.2.4 asks to set the limit at initial stage. Any idea?
>
> http://hbase.apache.org/book/os.html
>
> -Jignesh
>
> On Mon, Oct 17, 2011 at 1:57 PM, Harsh J <ha...@cloudera.com> wrote:
>
> > Jignesh,
> >
> > Curious if you are gonna run HBase on production over OSX. Otherwise,
> > the default limits should be good enough for testing, and HBase also
> > seems to set its own -n opt before it begins.
> >
> > But anyways, if you are looking to set things permanently, and using
> > ulimit is not cutting it for you, checkout launchctl:
> >
> >
> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/launchctl.1.html
> > [See the "limit" expansions]
> >
> > On Mon, Oct 17, 2011 at 11:24 PM, Jignesh Patel <jigneshmpatel@gmail.com
> >
> > wrote:
> > > My machine shows as follows:
> > >
> > > Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
> > > kern.maxproc = 1064
> > > kern.maxprocperuid = 709
> > > kern.maxproc: 1064
> > > kern.maxprocperuid: 709
> > >
> > >
> > > On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <
> jigneshmpatel@gmail.com
> > >wrote:
> > >
> > >> While setting Hbase there is a article to setup limit for the file.
> > However
> > >> I didn't find any appropriate command to setup same in Mac.
> > >>
> > >> Please let me know how to setup max file size permanently.
> > >>
> > >> -Jignesh
> > >>
> > >
> >
> >
> >
> > --
> > Harsh J
> >
>
Re: setting ulimit in os Lion X
Posted by Jignesh Patel <ji...@gmail.com>.
Harsh,
As you understand from some other post we have exchanged. I am at very early
stage of evaluating hadoop,base. We will start the development in next month
or so. So production is not in question at this time.
But wondering if the system should run in testing then why hbase book
section 2.2.4 asks to set the limit at initial stage. Any idea?
http://hbase.apache.org/book/os.html
-Jignesh
On Mon, Oct 17, 2011 at 1:57 PM, Harsh J <ha...@cloudera.com> wrote:
> Jignesh,
>
> Curious if you are gonna run HBase on production over OSX. Otherwise,
> the default limits should be good enough for testing, and HBase also
> seems to set its own -n opt before it begins.
>
> But anyways, if you are looking to set things permanently, and using
> ulimit is not cutting it for you, checkout launchctl:
>
> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/launchctl.1.html
> [See the "limit" expansions]
>
> On Mon, Oct 17, 2011 at 11:24 PM, Jignesh Patel <ji...@gmail.com>
> wrote:
> > My machine shows as follows:
> >
> > Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
> > kern.maxproc = 1064
> > kern.maxprocperuid = 709
> > kern.maxproc: 1064
> > kern.maxprocperuid: 709
> >
> >
> > On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <jigneshmpatel@gmail.com
> >wrote:
> >
> >> While setting Hbase there is a article to setup limit for the file.
> However
> >> I didn't find any appropriate command to setup same in Mac.
> >>
> >> Please let me know how to setup max file size permanently.
> >>
> >> -Jignesh
> >>
> >
>
>
>
> --
> Harsh J
>
Re: setting ulimit in os Lion X
Posted by Harsh J <ha...@cloudera.com>.
Jignesh,
Curious if you are gonna run HBase on production over OSX. Otherwise,
the default limits should be good enough for testing, and HBase also
seems to set its own -n opt before it begins.
But anyways, if you are looking to set things permanently, and using
ulimit is not cutting it for you, checkout launchctl:
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/launchctl.1.html
[See the "limit" expansions]
On Mon, Oct 17, 2011 at 11:24 PM, Jignesh Patel <ji...@gmail.com> wrote:
> My machine shows as follows:
>
> Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
> kern.maxproc = 1064
> kern.maxprocperuid = 709
> kern.maxproc: 1064
> kern.maxprocperuid: 709
>
>
> On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <ji...@gmail.com>wrote:
>
>> While setting Hbase there is a article to setup limit for the file. However
>> I didn't find any appropriate command to setup same in Mac.
>>
>> Please let me know how to setup max file size permanently.
>>
>> -Jignesh
>>
>
--
Harsh J
Re: setting ulimit in os Lion X
Posted by Jignesh Patel <ji...@gmail.com>.
And it also shows
Jignesh-MacBookPro:~ hadoop-user$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
*open files (-n) 256*
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 709
virtual memory (kbytes, -v) unlimited
Jignesh-MacBookPro:~ hadoop-user$
On Mon, Oct 17, 2011 at 1:54 PM, Jignesh Patel <ji...@gmail.com>wrote:
> My machine shows as follows:
>
> Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
> kern.maxproc = 1064
> kern.maxprocperuid = 709
> kern.maxproc: 1064
> kern.maxprocperuid: 709
>
>
> On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <ji...@gmail.com>wrote:
>
>> While setting Hbase there is a article to setup limit for the file.
>> However I didn't find any appropriate command to setup same in Mac.
>>
>> Please let me know how to setup max file size permanently.
>>
>> -Jignesh
>>
>
>
Re: setting ulimit in os Lion X
Posted by Jignesh Patel <ji...@gmail.com>.
My machine shows as follows:
Jignesh-MacBookPro:~ hadoop-user$ sysctl -a | grep maxproc
kern.maxproc = 1064
kern.maxprocperuid = 709
kern.maxproc: 1064
kern.maxprocperuid: 709
On Mon, Oct 17, 2011 at 1:51 PM, Jignesh Patel <ji...@gmail.com>wrote:
> While setting Hbase there is a article to setup limit for the file. However
> I didn't find any appropriate command to setup same in Mac.
>
> Please let me know how to setup max file size permanently.
>
> -Jignesh
>
Re: setting ulimit in os Lion X
Posted by Jean-Daniel Cryans <jd...@apache.org>.
http://serverfault.com/questions/15564/where-are-the-default-ulimits-specified-on-os-x-10-5
J-D
On Mon, Oct 17, 2011 at 10:51 AM, Jignesh Patel <ji...@gmail.com>wrote:
> While setting Hbase there is a article to setup limit for the file. However
> I didn't find any appropriate command to setup same in Mac.
>
> Please let me know how to setup max file size permanently.
>
> -Jignesh
>