retrieve S3 basics

User97277
User97277 New Altair Community Member
edited November 5 in Community Q&A
Hello

Hi ,

please, i try to read from rapidminer studio my S3 bucket.
My connection is ok
But when i run the connection, no file is displayed
Thanks for the help !

Answers

  • jwpfau
    jwpfau New Altair Community Member
    You can use the "Read Amazon S3" operator to retrieve Data from S3.
  • User97277
    User97277 New Altair Community Member
    Hi , but as i said previously :) this is what i used, but nothing is read ! 
  • jwpfau
    jwpfau New Altair Community Member
    Try this 

    <?xml version="1.0" encoding="UTF-8"?><process version="9.6.000">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" compatibility="9.6.000" expanded="true" name="Process">
        <parameter key="logverbosity" value="init"/>
        <parameter key="random_seed" value="2001"/>
        <parameter key="send_mail" value="never"/>
        <parameter key="notification_email" value=""/>
        <parameter key="process_duration_for_mail" value="30"/>
        <parameter key="encoding" value="SYSTEM"/>
        <process expanded="true">
          <operator activated="true" class="cloud_connectivity:read_amazons3" compatibility="9.3.000" expanded="true" height="82" name="Read Amazon S3" width="90" x="112" y="34">
            <parameter key="connection_source" value="repository"/>
            <parameter key="connection_entry" value="//Local Repository/Connections/s3"/>
            <parameter key="file" value="s3file"/>
          </operator>
          <connect from_op="Read Amazon S3" from_port="file" to_port="result 1"/>
          <portSpacing port="source_input 1" spacing="0"/>
          <portSpacing port="sink_result 1" spacing="0"/>
          <portSpacing port="sink_result 2" spacing="0"/>
        </process>
      </operator>
    </process>
    

    You also need other operators to parse the content of the file afterwards, like Read CSV
  • User97277
    User97277 New Altair Community Member
    ok well  ! but please where do i enter this xml code ?
  • sgenzer
    sgenzer
    Altair Employee
    hi @User97277 there is a link back on the "Ask a Question" page that shows you how to import and export XMLs:


  • User97277
    User97277 New Altair Community Member
    @jwpfau sorry but where do i insert this xml file in rapidminer ? Thanks
  • [Deleted User]
    [Deleted User] New Altair Community Member
    edited March 2020
    Hello dear @User97277 ,

    Please take a look at this link :)  you will find a good text about how to insert xml ;)

    https://community.rapidminer.com/discussion/51369

    Kind regards
    mbs