大版本升级额外步骤

这里的大版本是指版本号的第2位数字,比如4.2.7.3升级到4.3.3.1,从4.2升级到4.3,会出现无法启动问题,提示catalog版本不兼容。

而如果只是在第2位数字之内的相同版本的升级没有此类问题;最前面的那个版本数字号由于目前还没有出现对应版本,所以没有相关问题。

[[email protected] ~]$ gpstart -a
20141019:12:40:51:004622 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a
20141019:12:40:51:004622 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[INFO]:-MASTER_DIRECTORY Catalog Version: '201109210'
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[INFO]:-Catalog Version of master directory incompatible with binaries
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[ERROR]:-gpstart error: Catalog Versions are incompatible

解决版本是使用gpmigrator对数据库做个迁移升级操作(catalog):

[[email protected] ~]$ gpmigrator /usr/local/greenplum-db-4.2.7.3 /usr/local/greenplum-db-4.3.3.1
20141019:12:44:13:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Beginning upgrade
20141019:12:44:13:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Checking configuration
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-gpmigrator version 4.3.3.1 build 1
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Python version 2.6.2 final 0
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Operating System: Linux 2.6.32-220.el6.x86_64
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Checking version compatibility
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Source Version: (Greenplum Database) 4.2.7.3 build 1
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Target Version: (Greenplum Database) 4.3.3.1 build 1
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Source Catalog version number:               201109210
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Target Catalog version number:               201310150
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Data   Catalog version number:               201109210
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Versions are compatible
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Postmaster not running
20141019:12:44:14:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Starting old Greenplum postmaster
20141019:12:44:21:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Extracting configuration information
20141019:12:44:22:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Checking that all segments are valid
20141019:12:44:22:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Creating list of databases
20141019:12:44:22:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Checking gpmigrator user
20141019:12:44:22:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Validating hosts
20141019:12:44:22:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Validating indexes
20141019:12:44:22:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Validating database encoding
20141019:12:44:22:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Configuration acquired
20141019:12:44:22:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Creating temporary directories
20141019:12:44:24:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Checking Segment binary version
20141019:12:44:24:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Checking GUCs
20141019:12:44:24:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Checking Free Space
20141019:12:44:24:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Checking Catalog
20141019:12:44:24:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... Checking template1
20141019:12:45:07:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... Checking postgres
20141019:12:45:50:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... Checking gtlions
20141019:12:46:34:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Locking database
20141019:12:46:34:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... Creating upgrade user
20141019:12:46:34:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... Creating pg_hba.conf
20141019:12:46:34:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... Syncing
20141019:12:46:35:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Database Locked
20141019:12:46:35:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Generating config files
20141019:12:46:35:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Configuration files generated
20141019:12:46:36:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Extracting list of catalog files
20141019:12:46:37:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Shutting down old Greenplum postmaster
20141019:12:46:42:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Looking for highest OID
20141019:12:46:43:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Building skeleton cluster
20141019:12:46:53:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Modifying catalog version of skeleton cluster
20141019:12:46:55:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Adjusting configuration
20141019:12:46:55:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Starting new Greenplum postmaster in utility mode
20141019:12:46:57:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Shutting down new Greenplum postmaster
20141019:12:46:59:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Starting new Greenplum postmaster in upgrade mode
20141019:12:47:08:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Shutting down new Greenplum postmaster
20141019:12:47:13:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Starting new Greenplum postmaster in upgrade mode
20141019:12:47:20:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Performing catalog transformation
20141019:12:47:20:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... template1
20141019:12:47:22:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... template0
20141019:12:47:24:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... postgres
20141019:12:47:26:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... gtlions
20141019:12:47:29:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Shutting down new Greenplum postmaster
20141019:12:47:33:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Unlocking database
20141019:12:47:34:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Postmaster not running
20141019:12:47:34:004635 gpmigrator:gtlions60:gpadmin-[INFO]:---------------------------------------------------
20141019:12:47:34:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Stage 1 complete
20141019:12:47:34:004635 gpmigrator:gtlions60:gpadmin-[INFO]:---------------------------------------------------
20141019:12:47:34:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Adding gp_dbid file
20141019:12:47:35:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Linking backup
20141019:12:47:35:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... This may take a while
20141019:12:47:39:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Linking upgrade
20141019:12:47:39:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-... This may take a while
20141019:12:47:40:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Adjusting configuration
20141019:12:47:40:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Starting new Greenplum postmaster in utility mode
20141019:12:47:42:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Shutting down new Greenplum postmaster
20141019:12:47:43:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Starting new Greenplum postmaster in upgrade mode
20141019:12:47:50:004635 gpmigrator:gtlions60:gpadmin-[WARNING]:-***************************************
20141019:12:47:50:004635 gpmigrator:gtlions60:gpadmin-[WARNING]:-Warnings generated starting cluster
20141019:12:47:50:004635 gpmigrator:gtlions60:gpadmin-[WARNING]:-Check /home/gpadmin/gpAdminLogs/gpstart_20141019.log for detailed warnings
20141019:12:47:50:004635 gpmigrator:gtlions60:gpadmin-[WARNING]:-***************************************
20141019:12:47:50:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Shutting down new Greenplum postmaster
20141019:12:47:55:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Starting new Greenplum postmaster
20141019:12:48:02:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Installing gp_toolkit
20141019:12:48:05:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Removing upgrade user
20141019:12:48:05:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Unlocking database
20141019:12:48:18:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Removing temporary directories
20141019:12:48:18:004635 gpmigrator:gtlions60:gpadmin-[INFO]:----------------------------------------------------
20141019:12:48:18:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Upgrade Successful
20141019:12:48:18:004635 gpmigrator:gtlions60:gpadmin-[INFO]:----------------------------------------------------
20141019:12:48:18:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-Please consult release notes for post-upgrade
20141019:12:48:18:004635 gpmigrator:gtlions60:gpadmin-[INFO]:-instructions to complete environment configuration
20141019:12:48:18:004635 gpmigrator:gtlions60:gpadmin-[INFO]:----------------------------------------------------

[[email protected] ~]$ cat /home/gpadmin/gpAdminLogs/gpstart_20141019.log
20141019:11:51:17:002597 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a
20141019:11:51:17:002597 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:11:51:17:002597 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.2.7.3 build 1'
20141019:11:51:17:002597 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201109210'
20141019:11:51:18:002597 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:11:51:21:002597 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:11:51:21:002597 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:11:51:21:002597 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:11:51:21:002597 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:11:51:21:002597 gpstart:gtlions60:gpadmin-[INFO]:-Shutting down master
20141019:11:51:23:002597 gpstart:gtlions60:gpadmin-[INFO]:-No standby master configured.  skipping...
20141019:11:51:23:002597 gpstart:gtlions60:gpadmin-[INFO]:-Commencing parallel segment instance startup, please wait...
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-Process results...
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-   Successful segment starts                                            = 2
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-   Failed segment starts                                                = 0
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-   Skipped segment starts (segments are marked down in configuration)   = 0
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-Successfully started 2 of 2 segment instances
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:11:51:29:002597 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance gtlions60 directory /data/master/gpseg-1
20141019:11:51:32:002597 gpstart:gtlions60:gpadmin-[INFO]:-Command pg_ctl reports Master gtlions60 instance active
20141019:11:51:32:002597 gpstart:gtlions60:gpadmin-[INFO]:-Database successfully started
20141019:12:35:54:003894 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a
20141019:12:35:54:003894 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:35:54:003894 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:35:54:003894 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:35:54:003894 gpstart:gtlions60:gpadmin-[INFO]:-MASTER_DIRECTORY Catalog Version: '201109210'
20141019:12:35:54:003894 gpstart:gtlions60:gpadmin-[INFO]:-Catalog Version of master directory incompatible with binaries
20141019:12:35:54:003894 gpstart:gtlions60:gpadmin-[ERROR]:-gpstart error: Catalog Versions are incompatible
20141019:12:38:18:004191 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a
20141019:12:38:18:004191 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:38:18:004191 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:38:18:004191 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:38:18:004191 gpstart:gtlions60:gpadmin-[INFO]:-MASTER_DIRECTORY Catalog Version: '201109210'
20141019:12:38:18:004191 gpstart:gtlions60:gpadmin-[INFO]:-Catalog Version of master directory incompatible with binaries
20141019:12:38:18:004191 gpstart:gtlions60:gpadmin-[ERROR]:-gpstart error: Catalog Versions are incompatible
20141019:12:40:51:004622 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a
20141019:12:40:51:004622 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[INFO]:-MASTER_DIRECTORY Catalog Version: '201109210'
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[INFO]:-Catalog Version of master directory incompatible with binaries
20141019:12:40:52:004622 gpstart:gtlions60:gpadmin-[ERROR]:-gpstart error: Catalog Versions are incompatible
20141019:12:44:14:004663 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a -l /home/gpadmin/gpAdminLogs
20141019:12:44:14:004663 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:44:14:004663 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.2.7.3 build 1'
20141019:12:44:14:004663 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201109210'
20141019:12:44:14:004663 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:12:44:15:004663 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:44:15:004663 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:44:15:004663 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:12:44:15:004663 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:12:44:15:004663 gpstart:gtlions60:gpadmin-[INFO]:-Shutting down master
20141019:12:44:17:004663 gpstart:gtlions60:gpadmin-[INFO]:-No standby master configured.  skipping...
20141019:12:44:17:004663 gpstart:gtlions60:gpadmin-[INFO]:-Commencing parallel segment instance startup, please wait...
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-Process results...
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-   Successful segment starts                                            = 2
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-   Failed segment starts                                                = 0
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-   Skipped segment starts (segments are marked down in configuration)   = 0
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-Successfully started 2 of 2 segment instances
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:44:19:004663 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance gtlions60 directory /data/master/gpseg-1
20141019:12:44:21:004663 gpstart:gtlions60:gpadmin-[INFO]:-Command pg_ctl reports Master gtlions60 instance active
20141019:12:44:21:004663 gpstart:gtlions60:gpadmin-[INFO]:-Database successfully started
20141019:12:46:55:025211 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a -m -U upgrade -l /home/gpadmin/gpAdminLogs
20141019:12:46:55:025211 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:46:55:025211 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:46:55:025211 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:46:56:025211 gpstart:gtlions60:gpadmin-[INFO]:-Master-only start requested for management utilities.
20141019:12:46:56:025211 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:12:46:57:025211 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:46:57:025211 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:46:57:025211 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:12:46:57:025211 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:12:46:59:025260 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a -U upgrade -l /home/gpadmin/gpAdminLogs
20141019:12:46:59:025260 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:46:59:025260 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:46:59:025260 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:46:59:025260 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:12:47:00:025260 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:47:00:025260 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:47:00:025260 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:12:47:00:025260 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:12:47:00:025260 gpstart:gtlions60:gpadmin-[INFO]:-Shutting down master
20141019:12:47:02:025260 gpstart:gtlions60:gpadmin-[INFO]:-Commencing parallel segment instance startup, please wait...
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-Process results...
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-   Successful segment starts                                            = 2
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-   Failed segment starts                                                = 0
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-   Skipped segment starts (segments are marked down in configuration)   = 0
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-Successfully started 2 of 2 segment instances
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:47:06:025260 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance gtlions60 directory /data/master/gpmigrator/upgrade/gpseg-1
20141019:12:47:07:025260 gpstart:gtlions60:gpadmin-[INFO]:-Command pg_ctl reports Master gtlions60 instance active
20141019:12:47:07:025260 gpstart:gtlions60:gpadmin-[INFO]:-Testing connection as user gpadmin
20141019:12:47:07:025260 gpstart:gtlions60:gpadmin-[INFO]:-No standby master configured.  skipping...
20141019:12:47:07:025260 gpstart:gtlions60:gpadmin-[INFO]:-Database successfully started
20141019:12:47:13:025573 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a -U upgrade -l /home/gpadmin/gpAdminLogs
20141019:12:47:13:025573 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:47:13:025573 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:47:13:025573 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:47:14:025573 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:12:47:15:025573 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:47:15:025573 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:47:15:025573 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:12:47:15:025573 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:12:47:15:025573 gpstart:gtlions60:gpadmin-[INFO]:-Shutting down master
20141019:12:47:16:025573 gpstart:gtlions60:gpadmin-[INFO]:-Commencing parallel segment instance startup, please wait...
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-Process results...
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-   Successful segment starts                                            = 2
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-   Failed segment starts                                                = 0
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-   Skipped segment starts (segments are marked down in configuration)   = 0
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-Successfully started 2 of 2 segment instances
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:47:18:025573 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance gtlions60 directory /data/master/gpmigrator/upgrade/gpseg-1
20141019:12:47:20:025573 gpstart:gtlions60:gpadmin-[INFO]:-Command pg_ctl reports Master gtlions60 instance active
20141019:12:47:20:025573 gpstart:gtlions60:gpadmin-[INFO]:-Testing connection as user gpadmin
20141019:12:47:20:025573 gpstart:gtlions60:gpadmin-[INFO]:-No standby master configured.  skipping...
20141019:12:47:20:025573 gpstart:gtlions60:gpadmin-[INFO]:-Database successfully started
20141019:12:47:40:027611 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a -m -l /home/gpadmin/gpAdminLogs
20141019:12:47:40:027611 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:47:40:027611 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:47:40:027611 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:47:40:027611 gpstart:gtlions60:gpadmin-[INFO]:-Master-only start requested for management utilities.
20141019:12:47:40:027611 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:12:47:42:027611 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:47:42:027611 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:47:42:027611 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:12:47:42:027611 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:12:47:44:027653 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a -U upgrade -l /home/gpadmin/gpAdminLogs
20141019:12:47:44:027653 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:47:44:027653 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:47:44:027653 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:47:44:027653 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:12:47:45:027653 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:47:45:027653 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:47:45:027653 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:12:47:45:027653 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:12:47:45:027653 gpstart:gtlions60:gpadmin-[INFO]:-Shutting down master
20141019:12:47:47:027653 gpstart:gtlions60:gpadmin-[INFO]:-Commencing parallel segment instance startup, please wait...
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-Process results...
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-   Successful segment starts                                            = 2
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-   Failed segment starts                                                = 0
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-   Skipped segment starts (segments are marked down in configuration)   = 0
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-Successfully started 2 of 2 segment instances
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:47:49:027653 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance gtlions60 directory /data/master/gpmigrator/upgrade/gpseg-1
20141019:12:47:50:027653 gpstart:gtlions60:gpadmin-[WARNING]:-Command pg_ctl reports Master /data/master/gpseg-1 on port 5432 not running
20141019:12:47:50:027653 gpstart:gtlions60:gpadmin-[WARNING]:-Master could not be started
20141019:12:47:55:027904 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a -l /home/gpadmin/gpAdminLogs
20141019:12:47:55:027904 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:47:55:027904 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:47:56:027904 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:47:56:027904 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:12:47:57:027904 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:47:57:027904 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:47:57:027904 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:12:47:57:027904 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:12:47:57:027904 gpstart:gtlions60:gpadmin-[INFO]:-Shutting down master
20141019:12:47:58:027904 gpstart:gtlions60:gpadmin-[INFO]:-Commencing parallel segment instance startup, please wait...
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-Process results...
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-   Successful segment starts                                            = 2
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-   Failed segment starts                                                = 0
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-   Skipped segment starts (segments are marked down in configuration)   = 0
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-Successfully started 2 of 2 segment instances
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:48:00:027904 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance gtlions60 directory /data/master/gpseg-1
20141019:12:48:02:027904 gpstart:gtlions60:gpadmin-[INFO]:-Command pg_ctl reports Master gtlions60 instance active
20141019:12:48:02:027904 gpstart:gtlions60:gpadmin-[INFO]:-No standby master configured.  skipping...
20141019:12:48:02:027904 gpstart:gtlions60:gpadmin-[INFO]:-Database successfully started
20141019:12:48:11:029041 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a -d /data/master/gpseg-1
20141019:12:48:11:029041 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:48:11:029041 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:48:12:029041 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:48:12:029041 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:12:48:13:029041 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:48:13:029041 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:48:13:029041 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:12:48:13:029041 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:12:48:13:029041 gpstart:gtlions60:gpadmin-[INFO]:-Shutting down master
20141019:12:48:14:029041 gpstart:gtlions60:gpadmin-[INFO]:-Commencing parallel segment instance startup, please wait...
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-Process results...
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-   Successful segment starts                                            = 2
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-   Failed segment starts                                                = 0
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-   Skipped segment starts (segments are marked down in configuration)   = 0
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-Successfully started 2 of 2 segment instances
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:48:16:029041 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance gtlions60 directory /data/master/gpseg-1
20141019:12:48:18:029041 gpstart:gtlions60:gpadmin-[INFO]:-Command pg_ctl reports Master gtlions60 instance active
20141019:12:48:18:029041 gpstart:gtlions60:gpadmin-[INFO]:-No standby master configured.  skipping...
20141019:12:48:18:029041 gpstart:gtlions60:gpadmin-[INFO]:-Database successfully started
20141019:12:50:14:032393 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a
20141019:12:50:14:032393 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:50:14:032393 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:50:14:032393 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:50:14:032393 gpstart:gtlions60:gpadmin-[WARNING]:-postmaster.pid file exists on Master, checking if recovery startup required
20141019:12:50:14:032393 gpstart:gtlions60:gpadmin-[INFO]:-Commencing recovery startup checks
20141019:12:50:14:032393 gpstart:gtlions60:gpadmin-[INFO]:-Have lock file /tmp/.s.PGSQL.5432 and a process running on port 5432
20141019:12:50:14:032393 gpstart:gtlions60:gpadmin-[ERROR]:-gpstart error: Master instance process running

[[email protected] ~]$ gpstop -a
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-Starting gpstop with args: -a
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-Greenplum Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-There are 0 connections to the database
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-Commencing Master instance shutdown with mode='smart'
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-Master host=gtlions60
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-Commencing Master instance shutdown with mode=smart
20141019:12:52:42:032463 gpstop:gtlions60:gpadmin-[INFO]:-Master segment instance directory=/data/master/gpseg-1
20141019:12:52:43:032463 gpstop:gtlions60:gpadmin-[INFO]:-No standby master host configured
20141019:12:52:43:032463 gpstop:gtlions60:gpadmin-[INFO]:-Commencing parallel segment instance shutdown, please wait...
...
20141019:12:52:46:032463 gpstop:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:52:46:032463 gpstop:gtlions60:gpadmin-[INFO]:-   Segments stopped successfully      = 2
20141019:12:52:46:032463 gpstop:gtlions60:gpadmin-[INFO]:-   Segments with errors during stop   = 0
20141019:12:52:46:032463 gpstop:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:52:46:032463 gpstop:gtlions60:gpadmin-[INFO]:-Successfully shutdown 2 of 2 segment instances
20141019:12:52:46:032463 gpstop:gtlions60:gpadmin-[INFO]:-Database successfully shutdown with no errors reported
[[email protected] ~]$ gpstart -a
20141019:12:52:50:032514 gpstart:gtlions60:gpadmin-[INFO]:-Starting gpstart with args: -a
20141019:12:52:50:032514 gpstart:gtlions60:gpadmin-[INFO]:-Gathering information and validating the environment...
20141019:12:52:50:032514 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.3.3.1 build 1'
20141019:12:52:50:032514 gpstart:gtlions60:gpadmin-[INFO]:-Greenplum Catalog Version: '201310150'
20141019:12:52:50:032514 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance in admin mode
20141019:12:52:51:032514 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20141019:12:52:51:032514 gpstart:gtlions60:gpadmin-[INFO]:-Obtaining Segment details from master...
20141019:12:52:51:032514 gpstart:gtlions60:gpadmin-[INFO]:-Setting new master era
20141019:12:52:51:032514 gpstart:gtlions60:gpadmin-[INFO]:-Master Started...
20141019:12:52:51:032514 gpstart:gtlions60:gpadmin-[INFO]:-Shutting down master
20141019:12:52:53:032514 gpstart:gtlions60:gpadmin-[INFO]:-Commencing parallel segment instance startup, please wait...
..
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-Process results...
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-   Successful segment starts                                            = 2
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-   Failed segment starts                                                = 0
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-   Skipped segment starts (segments are marked down in configuration)   = 0
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-Successfully started 2 of 2 segment instances
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-----------------------------------------------------
20141019:12:52:55:032514 gpstart:gtlions60:gpadmin-[INFO]:-Starting Master instance gtlions60 directory /data/master/gpseg-1
20141019:12:52:56:032514 gpstart:gtlions60:gpadmin-[INFO]:-Command pg_ctl reports Master gtlions60 instance active
20141019:12:52:56:032514 gpstart:gtlions60:gpadmin-[INFO]:-No standby master configured.  skipping...
20141019:12:52:56:032514 gpstart:gtlions60:gpadmin-[INFO]:-Database successfully started

-EOF-

时间: 2024-10-11 03:25:23

大版本升级额外步骤的相关文章

学大数据需要什么编程基础?大数据学习步骤是什么?

学大数据需要什么编程基础?大数据学习步骤是什么? 大数据是什么? 有很多朋友问过我,大数据到底是什么?一句话来- 学大数据需要什么编程基础?大数据学习步骤是什么?大数据是什么? 有很多朋友问过我,大数据到底是什么?一句话来概括 针对非软件行业的朋友 根据你平时在超市,加油站,饭店等地方的一些消费行为,通过大数据这个技术,我们可以知道你现在的年龄范围,是否婚配,是否有孩子,孩子大致是几岁,是否有固定住宅,车大致是什么价位的等信息. 针对软件行业的朋友 平时我们写的程序都是在一台机器上运行,处理能力

postgresql大版本升级

postgresql升级有三种方式:pg_dump与restore,pg_upgrade,pg的Logical Replication,本文主要讲述pg_upgrade方式 步骤: 1.下载并安装新版数据库 下载:https://ftp.postgresql.org/pub/source/ 安装: cd /data/soft/ tar vxf postgresql-11.2.tar.gz cd postgresql-11.2 #新数据库的监听端口不要与旧数据库监听端口相同 ./configure

大数据学习步骤,入门篇

目前大数据行业异常火爆,不少人都对大数据充满了兴趣,其中有大部分人都是之前没有接触过计算机技术的,对编程语言也不太了解,那是不是这部分零基础的朋友就学不了大数据了呢?答案当然是否定的.大数据学习并不是高深莫测的,虽然它并没有多简单,但是通过努力,零基础的朋友也是完全可以掌握大数据的. 推荐一个大数据学习群142974151每天晚上20:10都有一节[免费的]大数据直播课程,专注大数据分析方法,大数据编程,大数据仓库,大数据案例,人工智能,数据挖掘都是纯干货分享, 零基础学习大数据一般有以下几步:

将Web项目War包部署到Tomcat服务器基本步骤(完整版)

1. 常识: 1.1 War包 War包一般是在进行Web开发时,通常是一个网站Project下的所有源码的集合,里面包含前台HTML/CSS/JS的代码,也包含Java的代码. 当开发人员在自己的开发机器上调试所有代码并通过后,为了交给测试人员测试和未来进行产品发布,都需要将开发人员的源码打包成War进行发布. War包可以放在Tomcat下的webapps或者word目录下,随着tomcat服务器的启动,它可以自动被解压. 1.2 Tomcat服务器 Tomcat服务器是一个免费的开放源代码

优秀API设计的十大原则

优秀API设计的十大原则 2015-09-23    分类:编程开发.设计模式.首页精华暂无人评论 分享到:更多4 二十万年薪PHP工程师培养计划 成为被疯抢的Android牛人 风中叶讲Java重难点 Linux运维基础课程 本文由码农网 – 小峰原创翻译,转载请看清文末的转载要求,欢迎加入技术翻译小组! 每个软件开发人员都使用API.“优秀”的API设计就像魔法.不过,我不知道有多少人可以解释为什么有的API很复杂.很难学,而有的则干净.简单.使用起来堪称是一种快乐.关于这个问题,我将在文中

盘点 PHP 和 ASP.NET 的10大对比!

[编者按]本文主要针对开源 PHP 和非开源的 ASP.NET 在性能.成本.可扩展性,技术支持和复杂性等方面进行比较. 在网上论坛,总是有成百上千的文章和帖子在讨论 PHP 和 ASP.NET,究竟谁才是更好的平台?不过很可惜,大部分人的观点总是带有偏见的,人们总会有意无意地推广自己喜欢的语言. 此外,如果你注意过这些争论帖和文章的日期,就会发现大部分的信息都是过时的.太可惜了,这些搜索排名考前的文章提供的信息却不再有效.我们还要考虑到,PHP 和 ASP.NET 都是有周期性的版本升级和优化

SparkRDD解密(DT大数据梦工厂)

第一阶段,彻底精通Spark 第二阶段,从0起步,操作项目 Hadoop是大数据的基础设施,存储等等 Spark是计算核心所在 1.RDD:基于工作集的应用抽象 2.RDD内幕解密 3.RDD思考 不掌握RDD的人,不可能成为Spark的高手 绝对精通RDD,解决问题的能力大大提高 各种框架底层封装的都是RDD,RDD提供了通用框架 RDD是Spark的通用抽象基石 顶级SPark高手, 1.能解决问题.性能调优: 2.Spark高手拿Spark过来就是修改的 ==========基于工作集的应

Android学习之高德地图的通用功能开发步骤

这次分享的心得是高德地图的开发,基本上都是按照高德官网上的API文档来进行开发,废话不多说,走起. 第一步:申请高德地图的一个key,有了这个key我们的高德地图才可以正确用起来. 至于怎么申请高德地图的key,其实很简单,这里我大概说一下步骤:打开网页http://lbs.amap.com,注册一个高德地图API的一个账号(这里我声明一下,并不是给高德打广告,我只是分享一下我的这次学习经历而已),注册成功之后,会提示你成为开发者,成为开发者之后就能获取一个key了,获取key需要填写的内容,可

产品设计初期的6大注意事项

产品经理日常工作中的不确定性因素,无外乎功能bug和需求变更.大概有哪些要点,可以在产品运营的角度,通过预先调研和事前确认,达到有所准备呢?本文试列六点来抛砖. 1.实现上的问题 (1)掌握需求涉及的数据表概况 这是后五点的基础,如字段类型.范围,取什么.怎么取,返回到哪里,返回以后影响哪些现有字段等(在人员变动剧烈的大环境下,这一步往往并非易事): (2)内外部协同 正如军事地图的"边缘"最容易被突破一样,在跨模块.跨域等多方接口处是bug最为频发之处,也容易出现三不管地区,有必要特