accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2852) master-agitator.pl calls Cwd::cwd() but doesn't import the Cwd module
Date Mon, 02 Jun 2014 22:53:02 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14016006#comment-14016006
] 

Josh Elser commented on ACCUMULO-2852:
--------------------------------------

Interesting, I had run the master-agitator with success during 1.5.1 testing. I assume it
was also used for 1.6.0. Curious as to why it didn't work for you.

Regarding perl expertise, yeah, I would be in favor of more clean up (maybe convert them to
python? I don't know if that really improves much or just pushes the problem into another
language :P). Either way, a larger rewrite isn't necessary here.

I tested it out and apparently I have no idea how the master-agitator.pl ever worked :). I'm
fine with applying this as is.

{code}
% perl -w
use Cwd qw(cwd);
print cwd();
/actual/current/working/directory%
% perl -w
use Cwd qw();
print Cwd::cwd();
/actual/current/working/directory%
% perl -w
use Cwd qw();
print cwd();
Undefined subroutine &main::cwd called at - line 2.
% perl -w
print Cwd::cwd();
Undefined subroutine &Cwd::cwd called at - line 1.
{code}

> master-agitator.pl calls Cwd::cwd() but doesn't import the Cwd module
> ---------------------------------------------------------------------
>
>                 Key: ACCUMULO-2852
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2852
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.5.1, 1.6.0
>            Reporter: Michael Berman
>            Assignee: Michael Berman
>             Fix For: 1.5.2, 1.6.1, 1.7.0
>
>         Attachments: 0001-ACCUMULO-2852-use-Cwd.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message