Я использую Нокс клиент DSL из класса Java, так как:ошибка Eclipse: Тип Put.Request не видно
package org.apache.camel;
...
import org.apache.hadoop.gateway.shell.Hadoop;
import org.apache.hadoop.gateway.shell.hdfs.Hdfs;
public class KnoxProducer extends DefaultProducer {
public KnoxProducer(KnoxEndpoint endpoint) {
super(endpoint);
this.endpoint = endpoint;
}
public void process(Exchange exchange) throws Exception {
...
Hadoop session = Hadoop.login(gateway, username, password);
Hdfs.put(session).text(body).to(path).now();
// ^Eclipse Error: The type Put.Request is not visible
session.shutdown();
}
}
Однако, Eclipse показывает ошибку:
The type Put.Request is not visible
Любые указатели?