The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Define Radoop Connection through Macro

JugiJugi RapidMiner Certified Analyst, Member Posts: 12 Contributor II
edited November 2018 in Help

Hi,

the Radoop Nest Connection Selector is a dropdown list that is not editable.

I would like to insert the connection string through a macro to easily switch between different Clusters for development and deployment.

Is that somehow possible?

Best regards

Tagged:

Answers

  • phellingerphellinger Employee-RapidMiner, Member Posts: 103 RM Engineering

    Hi Jugi,

     

    this is an interesting question.

     

    Although, it is not as convenient as if the connection parameter were editable, but you can achieve your goal by directly setting the parameter value in the XML that describes the process. You can add the XML panel to the Studio interface via View -> Show Panel -> XML. In the process XML, look for the connection parameter of the radoop:radoop_nest operator (see attached screenshot). Replace the value with the macro. During process execution, the connection parameter value will be the one that the macro defines. 

     

    Be careful though that clicking on the dropdown arrow of the connection parameter will immediately reset the parameter value, so then you must go back to the XML panel to fix it. Another thing to keep in mind is that metadata validation during process design time already uses the connection (so you can see attributes, etc. on different ports), so if the macro value changes, it may be impossible to figure out that during process design time, so the metadata may come from another cluster. But the process execution should work as expected.

     

    Screen Shot 2016-11-04 at 13.17.53.png

     

    Best,

    Peter

Sign In or Register to comment.