Examples of SRBFileSystemExt


Examples of edu.sdsc.grid.io.srb.SRBFileSystemExt

        super(rootName, fileSystemOptions);

        try {
            SRBFileSystemConfigBuilder configurations = SRBFileSystemConfigBuilder.getInstance();
            SRBAccount srbAccount = configurations.getAccount(fileSystemOptions);
            srbFileSystem = new SRBFileSystemExt(srbAccount);
            attribs.put(ACCOUNT, srbFileSystem.getAccount());
            attribs.put(FILESYSTEM, srbFileSystem);
        } catch (Throwable e) {
            throw new FileSystemException(e);
    }
View Full Code Here

Examples of edu.sdsc.grid.io.srb.SRBFileSystemExt

        try {
            SRBFileSystemConfigBuilder configurations = SRBFileSystemConfigBuilder.getInstance();
            //SRBAccount would have been created at this point in time.  It's stored in
            //the FileSystemOptions key ACCOUNT.
            SRBAccount srbAccount = configurations.getAccount(fileSystemOptions);
            srbFileSystem = new SRBFileSystemExt(srbAccount);
            attribs.put(ACCOUNT, srbFileSystem.getAccount());
            attribs.put(FILESYSTEM, srbFileSystem);
            attribs.put(HOME_DIRECTORY, srbAccount.getHomeDirectory());
            attribs.put(DEFAULT_RESOURCE, srbAccount.getDefaultStorageResource());
            attribs.put(MCAT_ZONE, srbAccount.getMcatZone());
View Full Code Here

Examples of edu.sdsc.grid.io.srb.SRBFileSystemExt

                    this.srbFileSystem = this.createSrbFileSystem((GenericFileName) this.getRootName(), this.getFileSystemOptions());
                }
            } catch (Exception ex) {
                throw new FileSystemException("vfs.provider.srb/connect.error", ex);
            }
            SRBFileSystemExt returnClient = this.srbFileSystem;
            this.srbFileSystem = null;
            return returnClient;
        }
    }
View Full Code Here

Examples of edu.sdsc.grid.io.srb.SRBFileSystemExt

    private SRBFileSystemExt createSrbFileSystem(GenericFileName rootName,
        FileSystemOptions opts) throws FileSystemException {
        try {
            log.debug("before srbAccount creation ");
            SRBAccount srbAccount = SRBVfsFileSystem.createSrbAccount(rootName, opts);
            SRBFileSystemExt _srbFileSystem = new SRBFileSystemExt(srbAccount);
            log.debug("after srbAccount creation");
            // update the firewall port range
            Integer portMin = SRBFileSystemConfigBuilder.getInstance().getFileWallPortMin(opts);
            Integer portMax = SRBFileSystemConfigBuilder.getInstance().getFileWallPortMax(opts);
            if (portMin != null && portMax != null) {
                _srbFileSystem.setFirewallPorts(portMin, portMax); // 64000, 65000
            }

            return _srbFileSystem;

        } catch (Exception ex) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.