I am not familiar with the Hbase setup but what about
{code}
System.getProperty("java.io.tmp.dir");
{code}
as a base for a temp test directory?
or commons-io FileUtils? That is used in InternalVertexRunner and are handy.


On Wed, Mar 20, 2013 at 10:47 AM, Khalid El-Arini (JIRA) <[email protected]>wrote:

>
>     [
> https://issues.apache.org/jira/browse/GIRAPH-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607911#comment-13607911]
>
> Khalid El-Arini commented on GIRAPH-510:
> ----------------------------------------
>
> Hi Nitay.  It's not that easy, because the root directory is essentially
> hard-coded to /home/$username, and this is not configurable unless we
> override one or more methods in the HBase code, or extend the FileSystem
> class.
>
> > Remove HBase Cruft
> > ------------------
> >
> >                 Key: GIRAPH-510
> >                 URL: https://issues.apache.org/jira/browse/GIRAPH-510
> >             Project: Giraph
> >          Issue Type: Bug
> >    Affects Versions: 0.2.0
> >            Reporter: Nitay Joffe
> >            Priority: Minor
> >              Labels: easy, newbie
> >         Attachments: GIRAPH-510.patch
> >
> >
> > The HBase tests appear to leave around lots of cruft, namely graph.csv,
> .graph.csv in the giraph folders and -ROOT-, simple_graph, hbase.version in
> the user home directory. We should remove these (or better yet not create
> them on first place).
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>

Reply via email to