The Palestinian militant group Hamas has canceled plans for its anniversary rally over fears of an Israeli attack .