Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

does clover support to read and write clover.db and coverage recording files from hdfs

Currently, we are trying to use clover as the code coverage tools for our distributed system. Which requires a network file system to share the clover.db and coverage recording files. But it's not covinient to use network file, many reasons. My question is, does clover support to read and write clover.db and coverage recording files from hdfs? Such as I can define the maven configure "clover.initstring=hdfs://dilithiumblue-nn1.blue.ygrid.yahoo.com:8020/projects/xxx/clover/clover.db".

If yes, how to configure it?

If no, can I implemented a plugin or something to do so?

2 answers

0 votes

Hi Juan,

Does clover support to read and write clover.db and coverage recording files from hdfs?

Clover uses Java's IO (streams) and NIO (file channels) to operate on the clover.db file. It means that HDFS must be able to handle them.

Honestly speaking, I did not test whether Clover runs on HDFS, but there's one post about running Clover with MapReduce on HDFS and it looks that it was OK:

In case you'd encounter any problems, just let me know.

If yes, how to configure it?

You can define the <cloverDatabase> option in the maven-clover2-plugin configuration:

TIP: you might need to use the <singleCloverDatabase> too.

Cheers
Marek

So you are saying clover implement a way to get and put clover db file on hadoop?

0 votes

Hi Juan,

I've read more details about HDFS in the documentation and it's rather unlikely that Clover will work on it without modifications - I expected that HDFS works transparently like NFS, but it looks that it's a completely different architecture and API. Sorry for a confusion.

Answering your question "can I implement a plugin or something to do so" - Clover has no API for plugging custom file system. However, I have raised a feature request for this, feel free to vote on it:

Note: I cannot tell right now whether or when this feature will be implemented. A road map for an entire year 2014 is set up already: Clover+Road+Map

Cheers
Marek

Thanks for your quick response. I've vote for that ticket.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

464 views 6 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you