You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-dev@incubator.apache.org by "Shanti Subramanyam (JIRA)" <ji...@apache.org> on 2009/03/11 21:46:50 UTC
[jira] Resolved: (OLIO-66) Fileloader NumberFormatException.
[ https://issues.apache.org/jira/browse/OLIO-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shanti Subramanyam resolved OLIO-66.
------------------------------------
Resolution: Fixed
The argument parsing in main() was incorrect. Fixed by copying over php file loader code.
> Fileloader NumberFormatException.
> ---------------------------------
>
> Key: OLIO-66
> URL: https://issues.apache.org/jira/browse/OLIO-66
> Project: Olio
> Issue Type: Bug
> Components: rails-loader
> Environment: OpenSolaris, Ruby 1.8.6p287, x64 hardware.
> Reporter: Prashant Srinivasan
> Assignee: Shanti Subramanyam
>
> I see the following fileloader.sh error on OpenSolaris:
> -bash-3.2# /export/faban/091008/faban/benchmarks/OlioDriver/bin/fileloader.sh
> Usage: /export/faban/091008/faban/benchmarks/OlioDriver/bin/fileloader.sh [concurrent users] <target directory>
> -bash-3.2# /export/faban/091008/faban/benchmarks/OlioDriver/bin/fileloader.sh 200 /export/olio/webapp/rails/trunk/public/uploaded_files
> Exception in thread "main" java.lang.NumberFormatException: For input string: "/export/olio/webapp/rails/trunk/public/uploaded_files"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> at java.lang.Integer.parseInt(Integer.java:447)
> at java.lang.Integer.parseInt(Integer.java:497)
> at org.apache.olio.workload.fsloader.FileLoader.main(FileLoader.java:34)
> ERROR: File loader exited with code 1.
> -bash-3.2# /export/faban/091008/faban/benchmarks/OlioDriver/bin/fileloader.sh
> Usage: /export/faban/091008/faban/benchmarks/OlioDriver/bin/fileloader.sh [concurrent users] <target directory>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.