You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@hadoop.apache.org by Konstantin Boudnik <co...@apache.org> on 2011/04/06 22:17:58 UTC

Re: Apache Sonar - http://analysis.apache.org/ does anyone want hadoop in there?

I have submitted for enabling Sonar analysis on HDFS code. Would
appreciate if someone takes a look so we can move forward with it
(HDFS-1741).
--
  Take care,
Konstantin (Cos) Boudnik

On Wed, Mar 9, 2011 at 08:30, Konstantin Boudnik <co...@apache.org> wrote:
> I have looked around Apache's Sonar server and it seems to be
> sufficient to just have a correct pom.xml in place. I have opened
>  https://issues.apache.org/jira/browse/HDFS-1741
> Will attend to it shortly.
> --
>   Take care,
> Konstantin (Cos) Boudnik
>
> On Wed, Mar 9, 2011 at 08:06, Konstantin Boudnik <co...@apache.org> wrote:
>> Hi Ian.
>>
>> yes, Sonar needs to have a pom'ed project. In case of an ant build
>> such a pom can be created to 'wrap' around build.xml and is usually
>> quite simple to manufacture. I have done it in the past for some HDFS
>> experiments without much of a hassle.
>>
>> Here's the example:
>>  http://docs.codehaus.org/display/SONAR/Analyse+with+Maven
>> in "Analyze projects which are not built with Maven" section.
>>
>> There's one more caveat though: handling of unit tests reports. It can
>> be done with some new features Sonar has. See here:
>>  http://www.sonarsource.org/tag/ant/
>>
>> I can quickly provide a working fixture to add say HDFS into Sonar as
>> a starter. Pl. let me know where it needs to be put (perhaps a JIRA
>> with a patch would do to?).
>>
>> Thanks for looking into this,
>>  Cos
>>
>> On Wed, Mar 9, 2011 at 06:10, Ian Holsman <ha...@holsman.net> wrote:
>>> Hi Cos.
>>> apparently they can't build from ant in the current version.
>>> I'll need to have a look at it.. they sent me some info.
>>>
>>> On Mar 3, 2011, at 12:34 PM, Konstantin Boudnik wrote:
>>>
>>>> Ian,
>>>>
>>>> Sonar was around for a while and Apache has this setup since late
>>>> 2009, I believe.  I had asked  INFRA folks on a few occasions about
>>>> adding Hadoop repos to their installation, but never heard anything
>>>> back.
>>>>
>>>> I'd be awesome if you can talk to the right people so it'd happen eventually.
>>>> --
>>>>   Thanks in advance,
>>>> Konstantin (Cos) Boudnik
>>>>
>>>>
>>>> On Thu, Mar 3, 2011 at 05:59, Ian Holsman <ia...@holsman.net> wrote:
>>>>> I just discovered this Apache site,
>>>>> Apache Sonar performs source code analysis on the java code, and it looks pretty, and I'm sure some people would find it useful.
>>>>>
>>>>> If people are interested I can start putting finding out how to put the hadoop code in there, so we can get stats on our own code.
>>>>>
>>>>> Regards
>>>>> Ian
>>>>> --
>>>>> Ian Holsman
>>>>> Ian@Holsman.net
>>>>> PH: +1-703 879-3128 AOLIM: ianholsman Skype:iholsman
>>>>>
>>>>> To know recursion, you must first know recursion.
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>

Re: Apache Sonar - http://analysis.apache.org/ does anyone want hadoop in there?

Posted by Eli Collins <el...@cloudera.com>.
I replied on jira.

On Thu, Apr 28, 2011 at 6:45 AM, Konstantin Boudnik <co...@apache.org> wrote:
> Any one is willing to take a look at the patch? Pretty straightforward...
> --
>   Take care,
> Konstantin (Cos) Boudnik
>
> On Wed, Apr 6, 2011 at 13:17, Konstantin Boudnik <co...@apache.org> wrote:
>> I have submitted for enabling Sonar analysis on HDFS code. Would
>> appreciate if someone takes a look so we can move forward with it
>> (HDFS-1741).
>> --
>>   Take care,
>> Konstantin (Cos) Boudnik
>>
>> On Wed, Mar 9, 2011 at 08:30, Konstantin Boudnik <co...@apache.org> wrote:
>>> I have looked around Apache's Sonar server and it seems to be
>>> sufficient to just have a correct pom.xml in place. I have opened
>>>  https://issues.apache.org/jira/browse/HDFS-1741
>>> Will attend to it shortly.
>>> --
>>>   Take care,
>>> Konstantin (Cos) Boudnik
>>>
>>> On Wed, Mar 9, 2011 at 08:06, Konstantin Boudnik <co...@apache.org> wrote:
>>>> Hi Ian.
>>>>
>>>> yes, Sonar needs to have a pom'ed project. In case of an ant build
>>>> such a pom can be created to 'wrap' around build.xml and is usually
>>>> quite simple to manufacture. I have done it in the past for some HDFS
>>>> experiments without much of a hassle.
>>>>
>>>> Here's the example:
>>>>  http://docs.codehaus.org/display/SONAR/Analyse+with+Maven
>>>> in "Analyze projects which are not built with Maven" section.
>>>>
>>>> There's one more caveat though: handling of unit tests reports. It can
>>>> be done with some new features Sonar has. See here:
>>>>  http://www.sonarsource.org/tag/ant/
>>>>
>>>> I can quickly provide a working fixture to add say HDFS into Sonar as
>>>> a starter. Pl. let me know where it needs to be put (perhaps a JIRA
>>>> with a patch would do to?).
>>>>
>>>> Thanks for looking into this,
>>>>  Cos
>>>>
>>>> On Wed, Mar 9, 2011 at 06:10, Ian Holsman <ha...@holsman.net> wrote:
>>>>> Hi Cos.
>>>>> apparently they can't build from ant in the current version.
>>>>> I'll need to have a look at it.. they sent me some info.
>>>>>
>>>>> On Mar 3, 2011, at 12:34 PM, Konstantin Boudnik wrote:
>>>>>
>>>>>> Ian,
>>>>>>
>>>>>> Sonar was around for a while and Apache has this setup since late
>>>>>> 2009, I believe.  I had asked  INFRA folks on a few occasions about
>>>>>> adding Hadoop repos to their installation, but never heard anything
>>>>>> back.
>>>>>>
>>>>>> I'd be awesome if you can talk to the right people so it'd happen eventually.
>>>>>> --
>>>>>>   Thanks in advance,
>>>>>> Konstantin (Cos) Boudnik
>>>>>>
>>>>>>
>>>>>> On Thu, Mar 3, 2011 at 05:59, Ian Holsman <ia...@holsman.net> wrote:
>>>>>>> I just discovered this Apache site,
>>>>>>> Apache Sonar performs source code analysis on the java code, and it looks pretty, and I'm sure some people would find it useful.
>>>>>>>
>>>>>>> If people are interested I can start putting finding out how to put the hadoop code in there, so we can get stats on our own code.
>>>>>>>
>>>>>>> Regards
>>>>>>> Ian
>>>>>>> --
>>>>>>> Ian Holsman
>>>>>>> Ian@Holsman.net
>>>>>>> PH: +1-703 879-3128 AOLIM: ianholsman Skype:iholsman
>>>>>>>
>>>>>>> To know recursion, you must first know recursion.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Re: Apache Sonar - http://analysis.apache.org/ does anyone want hadoop in there?

Posted by Konstantin Boudnik <co...@apache.org>.
Any one is willing to take a look at the patch? Pretty straightforward...
--
  Take care,
Konstantin (Cos) Boudnik

On Wed, Apr 6, 2011 at 13:17, Konstantin Boudnik <co...@apache.org> wrote:
> I have submitted for enabling Sonar analysis on HDFS code. Would
> appreciate if someone takes a look so we can move forward with it
> (HDFS-1741).
> --
>   Take care,
> Konstantin (Cos) Boudnik
>
> On Wed, Mar 9, 2011 at 08:30, Konstantin Boudnik <co...@apache.org> wrote:
>> I have looked around Apache's Sonar server and it seems to be
>> sufficient to just have a correct pom.xml in place. I have opened
>>  https://issues.apache.org/jira/browse/HDFS-1741
>> Will attend to it shortly.
>> --
>>   Take care,
>> Konstantin (Cos) Boudnik
>>
>> On Wed, Mar 9, 2011 at 08:06, Konstantin Boudnik <co...@apache.org> wrote:
>>> Hi Ian.
>>>
>>> yes, Sonar needs to have a pom'ed project. In case of an ant build
>>> such a pom can be created to 'wrap' around build.xml and is usually
>>> quite simple to manufacture. I have done it in the past for some HDFS
>>> experiments without much of a hassle.
>>>
>>> Here's the example:
>>>  http://docs.codehaus.org/display/SONAR/Analyse+with+Maven
>>> in "Analyze projects which are not built with Maven" section.
>>>
>>> There's one more caveat though: handling of unit tests reports. It can
>>> be done with some new features Sonar has. See here:
>>>  http://www.sonarsource.org/tag/ant/
>>>
>>> I can quickly provide a working fixture to add say HDFS into Sonar as
>>> a starter. Pl. let me know where it needs to be put (perhaps a JIRA
>>> with a patch would do to?).
>>>
>>> Thanks for looking into this,
>>>  Cos
>>>
>>> On Wed, Mar 9, 2011 at 06:10, Ian Holsman <ha...@holsman.net> wrote:
>>>> Hi Cos.
>>>> apparently they can't build from ant in the current version.
>>>> I'll need to have a look at it.. they sent me some info.
>>>>
>>>> On Mar 3, 2011, at 12:34 PM, Konstantin Boudnik wrote:
>>>>
>>>>> Ian,
>>>>>
>>>>> Sonar was around for a while and Apache has this setup since late
>>>>> 2009, I believe.  I had asked  INFRA folks on a few occasions about
>>>>> adding Hadoop repos to their installation, but never heard anything
>>>>> back.
>>>>>
>>>>> I'd be awesome if you can talk to the right people so it'd happen eventually.
>>>>> --
>>>>>   Thanks in advance,
>>>>> Konstantin (Cos) Boudnik
>>>>>
>>>>>
>>>>> On Thu, Mar 3, 2011 at 05:59, Ian Holsman <ia...@holsman.net> wrote:
>>>>>> I just discovered this Apache site,
>>>>>> Apache Sonar performs source code analysis on the java code, and it looks pretty, and I'm sure some people would find it useful.
>>>>>>
>>>>>> If people are interested I can start putting finding out how to put the hadoop code in there, so we can get stats on our own code.
>>>>>>
>>>>>> Regards
>>>>>> Ian
>>>>>> --
>>>>>> Ian Holsman
>>>>>> Ian@Holsman.net
>>>>>> PH: +1-703 879-3128 AOLIM: ianholsman Skype:iholsman
>>>>>>
>>>>>> To know recursion, you must first know recursion.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>
>>
>