You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Cynthia L Wong (JIRA)" <ji...@apache.org> on 2015/10/26 22:10:27 UTC

[jira] [Commented] (OODT-781) IllegalArgumentException: RADiX filemgr-client script cannot delete product by id or name

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

Cynthia L Wong commented on OODT-781:
-------------------------------------

2015-10-22: reported

I¹m checking out OODT 0.10. Do you know if it works with JDK 1.7?

I am able to ingest files but I can not perform the following commands to
get info or delete them.

% ./filemgr-client -url http://localhost:9000 -op -product -pn p1012850.15S
% ./filemgr-client -url http://localhost:9000 -op -pbyn -pn p1012850.15S
% ./filemgr-client -url http://localhost:9000 -op --deleteProductByName
-pn p1012850.15S
% ./filemgr-client -url http://localhost:9000 -op -dbyn -pn p1012850.15S
% ./filemgr-client -url http://localhost:9000 -op -dbyid -pid
68c41375-782d-11e5-808e-dd817024279f

The error message onto console:

ERROR: Failed to delete product
'org.apache.oodt.cas.filemgr.structs.Product@27a8eaf7' :
java.lang.Exception: java.lang.IllegalArgumentException: URI is not
absolute


And a list of files were ingested (in lucene):

% ./filemgr-client -url http://localhost:9000 -op -page1 -ptn rinex
Page: [num=1, totalPages=1, pageSize=20]
Products:
Product:
[id=68c41375-782d-11e5-808e-dd817024279f,name=p1012850.15S,type=rinex,struc
ture=Flat, transferStatus=TRANSFERING]
Product:
[id=ba7a0b76-782d-11e5-808e-dd817024279f,name=p1012850.15S,type=rinex,struc
ture=Flat, transferStatus=TRANSFERING]
Product:
[id=dadee437-782d-11e5-808e-dd817024279f,name=p1012850.15S,type=rinex,struc
ture=Flat, transferStatus=RECEIVED]
Product:
[id=ce936405-782f-11e5-adf7-2f670ce93a4d,name=p1012850.15S,type=rinex,struc
ture=Flat, transferStatus=RECEIVED]
Product:
[id=e01b7556-782f-11e5-adf7-2f670ce93a4d,name=p1012850.15S,type=rinex,struc
ture=Flat, transferStatus=RECEIVED]
Product:
[id=2d6c0385-78e7-11e5-be8b-2f30a366015e,name=p1012850.15S,type=rinex,struc
ture=Flat, transferStatus=RECEIVED]

> IllegalArgumentException: RADiX filemgr-client script cannot delete product by id or name
> -----------------------------------------------------------------------------------------
>
>                 Key: OODT-781
>                 URL: https://issues.apache.org/jira/browse/OODT-781
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.7
>         Environment: Mac OS X 10.9.2
> java version "1.7.0_51"
> Apache Maven 2.2.1
>            Reporter: Mengying Wang
>            Priority: Minor
>             Fix For: 0.10
>
>
> I am trying to delete some product in the OODT File Manager using the product id or name. However, the system raises "java.lang.IllegalArgumentException: URI is not absolute" error. 
> Below are my commands: 
> ./filemgr-client --op --dbyid --productId 2b0e7582-6077-11e4-ac24-8d456d2e5b9b --url http://localhost:9000
> ./filemgr-client -op --deleteProductByName --productName test.txt --url http://localhost:9000
> Part of the file manager logs is shown here: 
> ......
> Oct 30, 2014 2:56:21 PM org.springframework.beans.factory.support.AbstractBeanFactory doGetBean
> FINE: Returning cached instance of singleton bean 'sqlQuery'
> Oct 30, 2014 2:56:21 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
> INFO: Loading File Manager Configuration Properties from: [/Users/AngelaWang/Documents/programs/oodt-0.7/filemgr/etc/filemgr.properties]
> Oct 30, 2014 2:56:21 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
> INFO: Loading File Manager Configuration Properties from: [/Users/AngelaWang/Documents/programs/oodt-0.7/filemgr/etc/filemgr.properties]
> ERROR: Failed to delete product 'org.apache.oodt.cas.filemgr.structs.Product@5433d17' : java.lang.Exception: java.lang.IllegalArgumentException: URI is not absolute



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)