小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

Linux下面kettle的部署

 芥納須彌 2016-01-20

 

一直以來(lái)服務(wù)器是linux系統(tǒng),但是感覺(jué)linux圖形化不強(qiáng),于是從接觸kettle以來(lái)都是在windows系統(tǒng)操作ETL的設(shè)計(jì)和處理?,F(xiàn)在需要在linux中查看一下kettle資源庫(kù)是否連接正常,以及在linux上調(diào)度kettle的job,就需要在Linux上配置kettle環(huán)境了。

登陸-linux-(切換到kettle部署的用戶下面)

第一:產(chǎn)看系統(tǒng)的java環(huán)境,cat .bash_profile 文件

從上面可以看到,在cognos用戶下已經(jīng)安裝了java jdk,版本是1.6.0_20,我們看一下kettle的最低版本要求,編輯查看spoon.bat可以看到

java的版本需求為1.6.0_17,cognos用戶下的jdk版本在此之上,說(shuō)明java環(huán)境已經(jīng)符合。

第二:上傳文件,開(kāi)始部署

1. 將data-integration.zip上傳到linux服務(wù)器(利用SSH將解壓過(guò)的整個(gè)文件夾上傳也可以)

2. 使用unzip命令解壓data-integration.zip   unzip data-integration.zip -d "/mnt/kettle"(如果上傳的是文件夾,忽略此步驟)

3.進(jìn)入解壓目錄,找到./kitchen.sh

鍵入./kitchen.sh,看輸入信息

BASH:/ kitchen.sh的:權(quán)限被拒絕

從上面可以看出kitchen.sh缺少執(zhí)行權(quán)限,我們?cè)俅芜M(jìn)入看看文件盒文件夾的權(quán)限

從上面可以看出,此目錄下面的.sh文件都沒(méi)有執(zhí)行權(quán)限(X),接下來(lái)我們給這個(gè)文件夾下面的所有.sh文件賦執(zhí)行的權(quán)限

由上面的我們可以看出,賦權(quán)成功!

再次./kitchen.sh,回車 看輸出信息--

可以看到上面出現(xiàn) -rep,-user,-pass 這些kettle中的幫助信息,說(shuō)明kettle部署成功!

第三:調(diào)出spoon界面

在windows系統(tǒng)上面是執(zhí)行spoon.bat 同理在linux系統(tǒng)上面執(zhí)行spoon.sh調(diào)出spoon的界面進(jìn)行開(kāi)發(fā)。

執(zhí)行./spoon.sh,查看信息

這里說(shuō)一下,調(diào)出spoon界面需要linux客戶端支持圖形化服務(wù)。我們這里采用的是SecureCRT_CN,只支持命令后臺(tái)。這個(gè)時(shí)候就需要用tvnviewer,需要在linux服務(wù)端裝tvnviewer服務(wù)端。

在命令客戶端執(zhí)行:vncserver 打開(kāi)vnc服務(wù)

從上面的信息可以看出,服務(wù)已經(jīng)啟動(dòng),我們可以登陸tvnviewer

登陸成功 --

 

在終端執(zhí)行調(diào)出spoon界面的命令!執(zhí)行 xhost +(xhost + 是使所有用戶都能訪問(wèn)Xserver.)

OK ,所有host用戶都可以訪問(wèn)圖形服務(wù)了。

進(jìn)入目錄,執(zhí)行spoon.sh

彈出下面的信息

解決上面的問(wèn)題,jdk已經(jīng)沒(méi)問(wèn)題了到網(wǎng)上搜了一下

http://forums./archive/index.php/t-93893.html thanks  這位兄弟給出此方法

  從英文的大概可以看出來(lái)是需要編輯.kettle目錄下的一個(gè)文件,于是發(fā)現(xiàn)linux上面cognos根目錄下沒(méi)有.kettle文件

  于是從window上面把C:\Users\Administrator\.kettle中的文件.spoonrc.kettle編輯修改

保存,然后把.kettle整個(gè)文件夾賦值到cognos根目錄下,查看是否存在(使用 ls -a顯示所有對(duì)象,因?yàn)?XX的對(duì)象默認(rèn)是隱藏的)

再次執(zhí)行./spoon.sh

[cognos@bitic data-integration]$ ./spoon.sh


/home/cognos/pdi-ce-4.2.0-stable/data-integration
INFO  11-11 14:56:34,164 - Spoon - Logging goes to file:///tmp/spoon_66d28e63-4a9e-11e3-a301-7b09d1d32e5b.log
INFO  11-11 14:56:35,641 - Logging to org.slf4j.impl.JCLLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
INFO  11-11 14:56:35,646 - class org.pentaho.agilebi.platform.JettyServer - WebServer.Log.CreateListener localhost:10000
INFO  11-11 14:56:35,647 - jetty-6.1.21
INFO  11-11 14:56:35,703 - NO JSP Support for /pentaho, did not find org.apache.jasper.servlet.JspServlet
INFO  11-11 14:56:39,221 - Initializing Spring root WebApplicationContext
INFO  11-11 14:56:39,221 - Root WebApplicationContext: initialization started
INFO  11-11 14:56:39,242 - Refreshing org.pentaho.platform.web.http.context.PentahoSolutionSpringApplicationContext@e73783: display name [Root WebApplicationContext]; startup date [Mon Nov 11 14:56:39 CST 2013]; root of context hierarchy
INFO  11-11 14:56:39,271 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/pentaho-spring-beans.xml]
INFO  11-11 14:56:39,285 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/pentahoSystemConfig.xml]
INFO  11-11 14:56:39,298 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/adminPlugins.xml]
INFO  11-11 14:56:39,305 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/systemListeners.xml]
INFO  11-11 14:56:39,310 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/sessionStartupActions.xml]
INFO  11-11 14:56:39,316 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-spring-security.xml]
INFO  11-11 14:56:39,331 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-common-authorization.xml]
INFO  11-11 14:56:39,336 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-spring-security-memory.xml]
INFO  11-11 14:56:39,343 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-pentaho-security-memory.xml]
INFO  11-11 14:56:39,351 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/pentahoObjects.spring.xml]
INFO  11-11 14:56:39,527 - Bean factory for application context [org.pentaho.platform.web.http.context.PentahoSolutionSpringApplicationContext@e73783]: org.springframework.beans.factory.support.DefaultListableBeanFactory@da52a1
INFO  11-11 14:56:39,607 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@da52a1: defining beans [systemSettingsService,org.pentaho.platform.engine.core.system.SpringPentahoSystemProxy#0,administrationPluginsList,systemListenersList,sessionStartupActionsList,filterChainProxy,authenticationManager,loggerListener,basicProcessingFilter,basicProcessingFilterEntryPoint,requestParameterProcessingFilter,requestParameterProcessingFilterEntryPoint,pentahoSecurityStartupFilter,anonymousProcessingFilter,anonymousAuthenticationProvider,httpSessionContextIntegrationFilter,logoutFilter,securityContextHolderAwareRequestFilter,httpSessionReuseDetectionFilter,exceptionTranslationFilter,authenticationProcessingFilter,authenticationProcessingFilterEntryPoint,httpRequestAccessDecisionManager,filterInvocationInterceptor,roleVoter,daoAuthenticationProvider,userDetailsService,userMap,userMapFactoryBean,passwordEncoder,userRoleListEnhancedUserMapFactoryBean,inMemoryUserRoleListService,pentahoUserRoleListService,ISolutionEngine,ISolutionRepository,ISolutionRepositoryService,IContentRepository,IAuditEntry,IUITemplater,file,vfs-ftp,contentrepo,IAclPublisher,IAclVoter,IVersionHelper,ICacheManager,IConditionalExecution,IMessageFormatter,IDatasourceService,IPasswordService,IPluginProvider,IPluginManager,IPluginResourceLoader,IMenuProvider,IServiceManager,ITempFileDeleter,gwtServiceManager,IChartBeansGenerator,systemStartupSession,connection-SQL,connection-MDX,connection-XML,connection-HQL,IThemeManager]; root of factory hierarchy
INFO  11-11 14:56:39,687 - Adding user [org.springframework.security.userdetails.User@c24ef000: Username: suzy; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, cto, is]
INFO  11-11 14:56:39,688 - Adding user [org.springframework.security.userdetails.User@e9f02600: Username: pat; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, dev]
INFO  11-11 14:56:39,688 - Adding user [org.springframework.security.userdetails.User@7ba0e400: Username: joe; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Admin, Authenticated, User, ceo]
INFO  11-11 14:56:39,688 - Adding user [org.springframework.security.userdetails.User@6a247400: Username: tiffany; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, dev, devmgr]
INFO  11-11 14:56:39,745 - Validated configuration attributes
INFO  11-11 14:56:39,749 - Adding user [org.springframework.security.userdetails.User@c24ef000: Username: suzy; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, cto, is]
INFO  11-11 14:56:39,749 - Adding user [org.springframework.security.userdetails.User@e9f02600: Username: pat; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, dev]
INFO  11-11 14:56:39,749 - Adding user [org.springframework.security.userdetails.User@7ba0e400: Username: joe; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Admin, Authenticated, User, ceo]
INFO  11-11 14:56:39,749 - Adding user [org.springframework.security.userdetails.User@6a247400: Username: tiffany; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: Authenticated, User, dev, devmgr]
INFO  11-11 14:56:39,761 - Root WebApplicationContext: initialization completed in 539 ms
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IRuntimeRepository
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for ISubscriptionScheduler
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for ISubscriptionRepository
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IUserFilesComponent
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IBackgroundExecution
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IScheduler
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for INavigationComponent
INFO  11-11 14:56:39,778 - misc-org.pentaho.platform.engine.core.system.PentahoSystem: Could not detemine implementor for IUserSettingService
INFO  11-11 14:56:39,810 - Mondrian: properties loaded from 'file:/home/cognos/pdi-ce-4.2.0-stable/data-integration/libext/mondrian/config/mondrian.properties'
INFO  11-11 14:56:39,810 - Mondrian: loaded 0 system properties
INFO  11-11 14:56:39,884 - Refreshing com.pentaho.analyzer.content.px@106e02e: display name [com.pentaho.analyzer.content.px@106e02e]; startup date [Mon Nov 11 14:56:39 CST 2013]; root of context hierarchy
INFO  11-11 14:56:39,885 - Loading XML bean definitions from class path resource [beans.xml]
INFO  11-11 14:56:39,921 - Bean factory for application context [com.pentaho.analyzer.content.px@106e02e]: org.springframework.beans.factory.support.DefaultListableBeanFactory@f67d81
INFO  11-11 14:56:39,940 - Loading properties file from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/analyzer/analyzer.properties]
INFO  11-11 14:56:39,944 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@f67d81: defining beans [propertyConfigurer,properties,analysisAreaManager,olapMetaDataManager,olapConnectionManager,reportManager,reportRequestService,usageTracker,localizationService,CVAppContext]; root of factory hierarchy
INFO  11-11 14:56:39,948 - Loading properties file from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/analyzer/analyzer.properties]
Pentaho BI Platform server is ready. (Pentaho Platform Engine Core 3.9.0-stable.47240) Fully Qualified Server Url = http://localhost:8080/pentaho/, Solution Path = /home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions
INFO  11-11 14:56:40,048 - Started SocketConnector@localhost:10000
INFO  11-11 14:56:40,054 - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@bf1a4a: display name [org.springframework.context.support.FileSystemXmlApplicationContext@bf1a4a]; startup date [Mon Nov 11 14:56:40 CST 2013]; root of context hierarchy
INFO  11-11 14:56:40,054 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/visualizations/prpt/plugin.xml]
INFO  11-11 14:56:40,070 - Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@bf1a4a]: org.springframework.beans.factory.support.DefaultListableBeanFactory@9e4dc0
INFO  11-11 14:56:40,071 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@9e4dc0: defining beans [visualizationBean]; root of factory hierarchy
INFO  11-11 14:56:40,079 - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@7348e: display name [org.springframework.context.support.FileSystemXmlApplicationContext@7348e]; startup date [Mon Nov 11 14:56:40 CST 2013]; root of context hierarchy
INFO  11-11 14:56:40,080 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/visualizations/report-wizard/plugin.xml]
INFO  11-11 14:56:40,094 - Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@7348e]: org.springframework.beans.factory.support.DefaultListableBeanFactory@ffb35e
INFO  11-11 14:56:40,095 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@ffb35e: defining beans [visualizationBean]; root of factory hierarchy
INFO  11-11 14:56:40,097 - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@153c9c7: display name [org.springframework.context.support.FileSystemXmlApplicationContext@153c9c7]; startup date [Mon Nov 11 14:56:40 CST 2013]; root of context hierarchy
INFO  11-11 14:56:40,098 - Loading XML bean definitions from file [/home/cognos/pdi-ce-4.2.0-stable/data-integration/plugins/spoon/agile-bi/visualizations/analyzer/plugin.xml]
INFO  11-11 14:56:40,123 - Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@153c9c7]: org.springframework.beans.factory.support.DefaultListableBeanFactory@3eeab3
INFO  11-11 14:56:40,125 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3eeab3: defining beans [visualizationBean]; root of factory hierarchy
INFO  11-11 14:56:40,224 - Spoon - Asking for repository
INFO  11-11 14:56:40,347 - RepositoriesMeta - Reading repositories XML file: /home/cognos/.kettle/repositories.xml
INFO  11-11 14:56:41,118 - Version checker - OK

--------------------------------------------出現(xiàn)上面的加載信息,圖形界面成功調(diào)出------------------------------------------------------------------------------

小結(jié):至于解決方法ShowWelcomePageOnStartup=N 歡迎頁(yè)面不顯示就可以加載處設(shè)計(jì)頁(yè)面,就不知道是上面原因了,此時(shí)我們?cè)趕poon界面上點(diǎn)擊顯示歡迎界面的話又會(huì)出現(xiàn)同樣的錯(cuò)誤,哪位大神看到的話,歡迎留言科普!

 

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買(mǎi)等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多