You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by vaibhav thapliyal <va...@gmail.com> on 2015/07/29 19:51:46 UTC
Question regarding java being the choice for accumulo
Hello everyone,
I was wondering why did the developers chose java for writing accumulo.
What advantage it has over using any other language say C++(in which
another popular nosql database MongoDB is written) in context of accumulo?
Thanks
Vaibhav
RE: Question regarding java being the choice for accumulo
Posted by "Parise, Jonathan" <Jo...@gd-ms.com>.
Yes good point. Any client side code can utilize thrift.
From: dlmarion@comcast.net [mailto:dlmarion@comcast.net]
Sent: Wednesday, July 29, 2015 5:04 PM
To: user@accumulo.apache.org
Subject: Re: Question regarding java being the choice for accumulo
Except for any server side iterator logic, table balancers, etc...
________________________________
From: "Jonathan Parise" <Jo...@gd-ms.com>>
To: user@accumulo.apache.org<ma...@accumulo.apache.org>
Sent: Wednesday, July 29, 2015 3:02:27 PM
Subject: RE: Question regarding java being the choice for accumulo
I’m not sure what the motivation behind the question is, but one other thing to keep in mind is that you can write you own program in whatever language you want and still use Accumulo. Accumulo uses Apache Thrift, so you can use whatever language you want with Accumulo. You just need to compile the thrift code to your language of choice. Thrift will give you an Accumulo API in that language.
So if you really want to write you code in C++, you can do that and still use Accumulo. You will need a JVM to run Accumulo itself, but your code won’t need to be java based.
Jon
From: vaibhav thapliyal [mailto:vaibhav.thapliyal.91@gmail.com]
Sent: Wednesday, July 29, 2015 2:24 PM
To: user@accumulo.apache.org<ma...@accumulo.apache.org>
Subject: Re: Question regarding java being the choice for accumulo
Thank you Josh and Keith.
Vaibhav
On 29-Jul-2015 11:44 pm, "Keith Turner" <ke...@deenlo.com>> wrote:
We have a small amount of C++ code used to manage all data written to Accumulo. Using C++ for this very small amount of high performance, memory intensive code has worked out well. Coding task that do not need to be high performance in Java, like tablet assignment and management of cluster state is nice.
On Wed, Jul 29, 2015 at 1:51 PM, vaibhav thapliyal <va...@gmail.com>> wrote:
Hello everyone,
I was wondering why did the developers chose java for writing accumulo. What advantage it has over using any other language say C++(in which another popular nosql database MongoDB is written) in context of accumulo?
Thanks
Vaibhav
Re: Question regarding java being the choice for accumulo
Posted by dl...@comcast.net.
Except for any server side iterator logic, table balancers, etc...
----- Original Message -----
From: "Jonathan Parise" <Jo...@gd-ms.com>
To: user@accumulo.apache.org
Sent: Wednesday, July 29, 2015 3:02:27 PM
Subject: RE: Question regarding java being the choice for accumulo
I’m not sure what the motivation behind the question is, but one other thing to keep in mind is that you can write you own program in whatever language you want and still use Accumulo. Accumulo uses Apache Thrift, so you can use whatever language you want with Accumulo. You just need to compile the thrift code to your language of choice. Thrift will give you an Accumulo API in that language.
So if you really want to write you code in C++, you can do that and still use Accumulo. You will need a JVM to run Accumulo itself, but your code won’t need to be java based.
Jon
From: vaibhav thapliyal [mailto:vaibhav.thapliyal.91@gmail.com]
Sent: Wednesday, July 29, 2015 2:24 PM
To: user@accumulo.apache.org
Subject: Re: Question regarding java being the choice for accumulo
Thank you Josh and Keith.
Vaibhav
On 29-Jul-2015 11:44 pm, "Keith Turner" < keith@deenlo.com > wrote:
We have a small amount of C++ code used to manage all data written to Accumulo. Using C++ for this very small amount of high performance, memory intensive code has worked out well. Coding task that do not need to be high performance in Java, like tablet assignment and management of cluster state is nice.
On Wed, Jul 29, 2015 at 1:51 PM, vaibhav thapliyal < vaibhav.thapliyal.91@gmail.com > wrote:
Hello everyone,
I was wondering why did the developers chose java for writing accumulo. What advantage it has over using any other language say C++(in which another popular nosql database MongoDB is written) in context of accumulo?
Thanks
Vaibhav
RE: Question regarding java being the choice for accumulo
Posted by "Parise, Jonathan" <Jo...@gd-ms.com>.
I’m not sure what the motivation behind the question is, but one other thing to keep in mind is that you can write you own program in whatever language you want and still use Accumulo. Accumulo uses Apache Thrift, so you can use whatever language you want with Accumulo. You just need to compile the thrift code to your language of choice. Thrift will give you an Accumulo API in that language.
So if you really want to write you code in C++, you can do that and still use Accumulo. You will need a JVM to run Accumulo itself, but your code won’t need to be java based.
Jon
From: vaibhav thapliyal [mailto:vaibhav.thapliyal.91@gmail.com]
Sent: Wednesday, July 29, 2015 2:24 PM
To: user@accumulo.apache.org
Subject: Re: Question regarding java being the choice for accumulo
Thank you Josh and Keith.
Vaibhav
On 29-Jul-2015 11:44 pm, "Keith Turner" <ke...@deenlo.com>> wrote:
We have a small amount of C++ code used to manage all data written to Accumulo. Using C++ for this very small amount of high performance, memory intensive code has worked out well. Coding task that do not need to be high performance in Java, like tablet assignment and management of cluster state is nice.
On Wed, Jul 29, 2015 at 1:51 PM, vaibhav thapliyal <va...@gmail.com>> wrote:
Hello everyone,
I was wondering why did the developers chose java for writing accumulo. What advantage it has over using any other language say C++(in which another popular nosql database MongoDB is written) in context of accumulo?
Thanks
Vaibhav
Re: Question regarding java being the choice for accumulo
Posted by vaibhav thapliyal <va...@gmail.com>.
Thank you Josh and Keith.
Vaibhav
On 29-Jul-2015 11:44 pm, "Keith Turner" <ke...@deenlo.com> wrote:
> We have a small amount of C++ code used to manage all data written to
> Accumulo. Using C++ for this very small amount of high performance, memory
> intensive code has worked out well. Coding task that do not need to be
> high performance in Java, like tablet assignment and management of cluster
> state is nice.
>
> On Wed, Jul 29, 2015 at 1:51 PM, vaibhav thapliyal <
> vaibhav.thapliyal.91@gmail.com> wrote:
>
>> Hello everyone,
>>
>> I was wondering why did the developers chose java for writing accumulo.
>> What advantage it has over using any other language say C++(in which
>> another popular nosql database MongoDB is written) in context of accumulo?
>>
>> Thanks
>> Vaibhav
>>
>
>
Re: Question regarding java being the choice for accumulo
Posted by Keith Turner <ke...@deenlo.com>.
We have a small amount of C++ code used to manage all data written to
Accumulo. Using C++ for this very small amount of high performance, memory
intensive code has worked out well. Coding task that do not need to be
high performance in Java, like tablet assignment and management of cluster
state is nice.
On Wed, Jul 29, 2015 at 1:51 PM, vaibhav thapliyal <
vaibhav.thapliyal.91@gmail.com> wrote:
> Hello everyone,
>
> I was wondering why did the developers chose java for writing accumulo.
> What advantage it has over using any other language say C++(in which
> another popular nosql database MongoDB is written) in context of accumulo?
>
> Thanks
> Vaibhav
>
Re: Question regarding java being the choice for accumulo
Posted by Josh Elser <jo...@gmail.com>.
Short answer is probably because Hadoop was written in Java :smile:
Some general points brought up by Doug Cutting for choosing Java for
Hadoop (back in the Nutch days) are probably applicable here too
* Java's code is portable and platform independent which is based on
Write Once Run Anywhere.
* Java is fairly simple language to learn to develop a complex and large
project. Java project are easy to manage.
* Java has a huge collection of open source libraries than any other
language.
* Java programs crashes less catastrophically and it is easier to debug
an issue in Java then C or C++.
* Garbage Collection techniques is easier to reuse or extend to a
project need in Java.
That's my take on it, anyways.
vaibhav thapliyal wrote:
> Hello everyone,
>
> I was wondering why did the developers chose java for writing accumulo.
> What advantage it has over using any other language say C++(in which
> another popular nosql database MongoDB is written) in context of accumulo?
>
> Thanks
> Vaibhav
>