Package com.alibaba.otter.node.etl.common.pipe.impl.http.archive

Examples of com.alibaba.otter.node.etl.common.pipe.impl.http.archive.ArchiveException


        String ip = node.getIp();
        if (pipeline.getParameters().getUseExternalIp()) {
            ip = node.getParameters().getExternalIp();

            if (StringUtils.isEmpty(ip)) {
                throw new ArchiveException(String.format("pipelineId:%s useExternalIp by nid[%s] has no external ip",
                                                         String.valueOf(pipelineId), String.valueOf(node.getId())));
            }
        }

        Integer port = node.getParameters().getDownloadPort();// 注意为其下载端口
View Full Code Here


        String ip = node.getIp();
        if (node.getParameters().getUseExternalIp() || pipeline.getParameters().getUseExternalIp()) {
            ip = node.getParameters().getExternalIp();

            if (StringUtils.isEmpty(ip)) {
                throw new ArchiveException(String.format("pipelineId:%s useExternalIp by nid[%s] has no external ip",
                    String.valueOf(pipelineId),
                    String.valueOf(node.getId())));
            }
        }
View Full Code Here

TOP

Related Classes of com.alibaba.otter.node.etl.common.pipe.impl.http.archive.ArchiveException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.