Example #1
0
        public MahoutService()
        {
            var socket = new TSocket(MahoutConfigure.Instance.GetDefaultHost(), MahoutConfigure.Instance.GetDefaultPort());

            transport = new TBufferedTransport(socket);
            var proto = new TBinaryProtocol(transport);

            mahoutClient = new MahoutThriftClient(proto);
            _daoInstance = new HiveService.HiveService();
            transport.Open();
        }
        private EveryDayConsume_Vendor_KeyWordServiceImp()
        {
            var config = DatabaseConfigService.Instance.GetSqlServerConfig("db_autosense_logmgr");

            _daoInstance = new HiveService.HiveService("default", "default", config.Host, config.Database, config.UserName, config.Password);
        }
Example #3
0
        private MemberSiteEveryDaySummaryServiceImp()
        {
            var config = DatabaseConfigService.Instance.GetSqlServerConfig("db_AutosenseUnion");

            _daoInstance = new HiveService.HiveService("default", "default", config.Host, config.Database, config.UserName, config.Password);
        }