Sto passando le cartelle di input e output come parametri per mappare il programma di conteggio parole dalla pagina web.Come specificare l'ID chiave di accesso AWS e la chiave di accesso segreta come parte di un URL sazon amazon
Ottenere sotto l'errore:
HTTP Status 500 - Request processing failed; nested exception is java.lang.IllegalArgumentException: AWS Access Key ID and Secret Access Key must be specified as the username or password (respectively) of a s3n URL, or by setting the fs.s3n.awsAccessKeyId or fs.s3n.awsSecretAccessKey properties (respectively).
Sfortunatamente questo non funziona se capita che il segreto abbia un "/" in esso. Che è abbastanza frequente È un vecchio bug noto https://issues.apache.org/jira/browse/HADOOP-3733 e potrebbe essere corretto in hadoop 2.8 per il protocollo s3a. https://issues.apache.org/jira/browse/HADOOP-11573. L'alternativa è mettere le chiavi in conf (ma questo ha anche altri avvertimenti) – mathieu
sì, anche mettere in conf non funziona per me –
Ha funzionato per emr-4.3.0. Emr-4.4.0 ed emr-4,5,0 throw 'java.lang.IllegalArgumentException: Il nome del bucket non deve essere formattato come un indirizzo IP', come se l'ID e il SECRET facessero parte del nome del bucket. Emr-4.6.0 lancia 'java.lang.IllegalArgumentException: Il nome del bucket deve essere compreso tra 3 e 63 caratteri. Qualche idea? – osa