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

Aaron Kimball commented on MAPREDUCE-2301:
------------------------------------------

+1 Changes look reasonable.

FWIW, I don't think this is going to entirely solve your problem. {{TestDBJob}} 
should fail for the exact same reason -- it runs the job specified in 
{{DBCountPageView.java}} under {{src/examples}}. So you might need to 
parameterize the {{DB_URL}} in that process as well and make embedded server 
hosting conditional on its value. (If TestDDDBIF fails and TestDBJob doesn't... 
that's something else worth pondering.)

> TestDataDrivenDBInputFormat fails if port 9001 is occupied
> ----------------------------------------------------------
>
>                 Key: MAPREDUCE-2301
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2301
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: mapreduce-2301.txt, mapreduce-2301.txt, 
> mapreduce-2301.txt
>
>
> If you have any process listening on port 9001 (the default hsqldb port) then 
> TestDataDrivenDBInputFormat will fail with:
> Connection is broken: java.io.EOFException
> java.sql.SQLException: Connection is broken: java.io.EOFException
>         at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
> in the logs you see:
> [Server@42704baa]: [Thread[HSQLDB Server @42704baa,5,main]]: 
> run()/openServerSocket():
> java.net.BindException: Address already in use

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to