Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

Unable to assign role privileges to the Mass Ingestion service from the infacmd command line
Problem Description
When the user tries to execute the below infacmd command to assign role privileges to the Mass Ingestion service, it fails with the following error message:

[root@v10201 bin]# ./infacmd.sh isp AddRolePrivilege -dn DOMAIN -un Administrator -pd Administrator -rn Administrator -st MI -pp "Mass Ingestion Service Access"
[ICMD_10033] Command [AddRolePrivilege] failed with error [[INFACMD_40000] [INFACMD_10043] Service type [MI] is not a valid service type. Use infacmd help for the command to list service types.].
Usage:
        <-DomainName|-dn> domain_name
        <-UserName|-un> user_name
        <-Password|-pd> password
        [<-SecurityDomain|-sdn> security_domain]
        [<-Gateway|-hp> gateway_host1:port gateway_host2:port...]
        [<-ResilienceTimeout|-re> timeout_period_in_seconds]
        <-RoleName|-rn> role_name
        <-ServiceType|-st> service_type AS|CMS|LDM|MM|MRS|RS|TDM|TDW|SATS|DOMAIN
        <-PrivilegePath|-pp> path_of_privilege

Assigns a privilege to a role in the domain. You can assign privileges to a role for the domain. You can also assign role privileges for each application service in the domain.
com.informatica.pcsf.cmdframework.common.InfaCmdException: [ICMD_10033] Command [AddRolePrivilege] failed with error [[INFACMD_40000] [INFACMD_10043] Service type [MI] is not a valid service type. Use infacmd help for the command to list service types.].
        at com.informatica.pcsf.cmdframework.PluginCommand.run(PluginCommand.java:73)
        at com.informatica.pcsf.cmdframework.Infacmd.execute(Infacmd.java:325)
        at com.informatica.pcsf.cmdframework.Infacmd.main(Infacmd.java:165)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.informatica.pcsf.cmdframework.PluginCommand.run(PluginCommand.java:47)
        ... 2 more
Caused by: com.informatica.pcsf.cmdframework.common.InfaCmdException: [INFACMD_40000] [INFACMD_10043] Service type [MI] is not a valid service type. Use infacmd help for the command to list service types.
        at com.informatica.isp.infacmd.impl.UserCommandsImpl.addRolePrivilege(UserCommandsImpl.java:443)
        ... 7 more
Caused by: com.informatica.pcsf.cmdframework.common.InfaCmdSyntaxException: [INFACMD_10043] Service type [MI] is not a valid service type. Use infacmd help for the command to list service types.
        at com.informatica.isp.infacmd.common.InfacmdHelper.longServiceName(InfacmdHelper.java:295)
        at com.informatica.isp.infacmd.impl.UserCommandsImpl.addRolePrivilege(UserCommandsImpl.java:420)
        ... 7 more​
​​
Cause
This is a known issue and BDM-20105 has been submitted to be addressed in a future release.
Solution

Workaround 


This issue can be resolved by assigning the role privileges for the Mass Ingestion service from the Informatica Administrator console as shown as follows:

MassIngestionService_AddRolePrivilege.png


More Information
Applies To
Product: Informatica Platform; Big Data Management
Problem Type:
User Type:
Project Phase:
Product Version: Big Data Management 10.2.1
Database:
Operating System:
Other Software:

Reference
Attachments
Last Modified Date:2/10/2019 9:11 PMID:542130
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)